[all] common: fix compilation on clang
This commit is contained in:
1 parent
be52a86a9a
commit
711c932380
1 file changed
+1
-1
+1
-1
@@ -952,7 +952,7 @@ float option_get_float(const char * module, const char * name)
|
||||
if (!o)
|
||||
{
|
||||
DEBUG_ERROR("BUG: Failed to get the value for option %s:%s", module, name);
|
||||
return NAN;
|
||||
return 0.0f;
|
||||
}
|
||||
DEBUG_ASSERT(o->type == OPTION_TYPE_FLOAT);
|
||||
return o->value.x_float;
|
||||
|
||||
Reference in new issue
Block a user