Made no-value error non-fatal in gswe_timestamp_calculate_gregorian()
This commit is contained in:
parent
a92fdca8b2
commit
2f63859c0b
@ -375,7 +375,8 @@ gswe_timestamp_calculate_gregorian(GsweTimestamp *timestamp)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (timestamp->priv->valid_dates == 0) {
|
if (timestamp->priv->valid_dates == 0) {
|
||||||
g_error("This timestamp object holds no valid values. This can't be good.");
|
g_set_error(err, GSWE_TIMESTAMP_ERROR, GSWE_TIMESTAMP_ERROR_NO_VALID, "This timestamp object holds no valid values");
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
g_warning("This method is not implemented yet.");
|
g_warning("This method is not implemented yet.");
|
||||||
|
Loading…
Reference in New Issue
Block a user