Commit 1b7f954a authored by Marcus Meissner's avatar Marcus Meissner Committed by Alexandre Julliard

Return out of the default case, assert() is removed with -DNDEBUG.

parent 097e2812
......@@ -273,7 +273,9 @@ static void set_dllmode(HWND dialog, DWORD id)
CONVERT( NATIVE_BUILTIN );
CONVERT( DISABLE );
default: assert( FALSE ); /* should not be reached */
default:
assert( FALSE ); /* should not be reached */
return;
}
#undef CONVERT
......@@ -290,7 +292,9 @@ static void set_dllmode(HWND dialog, DWORD id)
case BUILTIN_NATIVE: str = "builtin, native"; break;
case NATIVE_BUILTIN: str = "native, builtin"; break;
case DISABLE: str = ""; break;
default: assert( FALSE ); /* unreachable */
default:
assert( FALSE ); /* unreachable */
return;
}
WINE_TRACE("Setting %s to %s\n", dll->name, str);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment