[Bf-blender-cvs] [65e155d757b] blender2.8: Cleanup: redundant assignment is later overwritten
Campbell Barton
noreply at git.blender.org
Wed Sep 12 11:42:32 CEST 2018
Commit: 65e155d757b3671b8641957cd641b931b0714b1c
Author: Campbell Barton
Date: Wed Sep 12 19:51:59 2018 +1000
Branches: blender2.8
https://developer.blender.org/rB65e155d757b3671b8641957cd641b931b0714b1c
Cleanup: redundant assignment is later overwritten
===================================================================
M source/blender/blenloader/intern/versioning_userdef.c
===================================================================
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)
More information about the Bf-blender-cvs
mailing list