mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-04-24 23:56:26 +00:00
[all] common: fix compilation on clang
This commit is contained in:
parent
be52a86a9a
commit
711c932380
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user