mirror of
https://github.com/reactos/wine.git
synced 2025-02-12 07:32:23 +00:00
Return out of the default case, assert() is removed with -DNDEBUG.
This commit is contained in:
parent
097e281294
commit
1b7f954a41
@ -273,7 +273,9 @@ static void set_dllmode(HWND dialog, DWORD id)
|
|||||||
CONVERT( NATIVE_BUILTIN );
|
CONVERT( NATIVE_BUILTIN );
|
||||||
CONVERT( DISABLE );
|
CONVERT( DISABLE );
|
||||||
|
|
||||||
default: assert( FALSE ); /* should not be reached */
|
default:
|
||||||
|
assert( FALSE ); /* should not be reached */
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
#undef CONVERT
|
#undef CONVERT
|
||||||
@ -290,7 +292,9 @@ static void set_dllmode(HWND dialog, DWORD id)
|
|||||||
case BUILTIN_NATIVE: str = "builtin, native"; break;
|
case BUILTIN_NATIVE: str = "builtin, native"; break;
|
||||||
case NATIVE_BUILTIN: str = "native, builtin"; break;
|
case NATIVE_BUILTIN: str = "native, builtin"; break;
|
||||||
case DISABLE: str = ""; break;
|
case DISABLE: str = ""; break;
|
||||||
default: assert( FALSE ); /* unreachable */
|
default:
|
||||||
|
assert( FALSE ); /* unreachable */
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
WINE_TRACE("Setting %s to %s\n", dll->name, str);
|
WINE_TRACE("Setting %s to %s\n", dll->name, str);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user