Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2018-09-12 12:51:59 +0300
committerCampbell Barton <ideasman42@gmail.com>2018-09-12 12:51:59 +0300
commit65e155d757b3671b8641957cd641b931b0714b1c (patch)
treee0d52aa8f63bcc16004b036ba8888cda312b5e01 /source/blender/blenloader/intern/versioning_userdef.c
parente56c5dd982ff80ee52ffd1bf1e36a2f3ff33a9b2 (diff)
Cleanup: redundant assignment is later overwritten
Diffstat (limited to 'source/blender/blenloader/intern/versioning_userdef.c')
-rw-r--r--source/blender/blenloader/intern/versioning_userdef.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/versioning_userdef.c b/source/blender/blenloader/intern/versioning_userdef.c
index d077784a361..6ca7bba1ed2 100644
--- a/source/blender/blenloader/intern/versioning_userdef.c
+++ b/source/blender/blenloader/intern/versioning_userdef.c
@@ -134,9 +134,6 @@ void BLO_version_defaults_userpref_blend(Main *bmain, UserDef *userdef)
/* new audio system */
if (userdef->audiochannels == 0)
userdef->audiochannels = 2;
- if (userdef->audiodevice == 0) {
- userdef->audiodevice = 2; /* OpenAL */
- }
if (userdef->audioformat == 0)
userdef->audioformat = 0x24;
if (userdef->audiorate == 0)