remove the default return in case an illegal config entry was found

Fallback to a default in case of a already pending error is not needed.
This would only obtruse error handling. If the default entry would be
erroneous it would be silently ignored and make the thing worse.
This commit is contained in:
Christian Thaeter 2008-09-05 06:43:26 +02:00
parent b6e3650f62
commit 21db988e18

View file

@ -80,9 +80,6 @@ lumiera_config_number_get (const char* key, long long* value)
else
{
LUMIERA_ERROR_SET (config_typed, CONFIG_SYNTAX_VALUE);
/* try default instead */
if (!lumiera_config_get_default (key, &raw_value))
sscanf (raw_value, "%Li", value);
}
}
else