diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-12 12:51:59 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-12 12:51:59 +0300 |
commit | 65e155d757b3671b8641957cd641b931b0714b1c (patch) | |
tree | e0d52aa8f63bcc16004b036ba8888cda312b5e01 /source/blender | |
parent | e56c5dd982ff80ee52ffd1bf1e36a2f3ff33a9b2 (diff) |
Cleanup: redundant assignment is later overwritten
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenloader/intern/versioning_userdef.c | 3 |
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) |