Commit b0ce5d0e authored by Thomas Jahns's avatar Thomas Jahns 🤸
Browse files

Do not re-initialize variable to previous value.

parent a7276909
......@@ -221,9 +221,7 @@ int setBaseTime(const char *timeunits, taxis_t *taxis)
{
while ( isspace(*ptu) ) ptu++;
if ( str_is_equal(ptu, "as") )
timetype = TAXIS_ABSOLUTE;
else if ( str_is_equal(ptu, "since") )
if ( str_is_equal(ptu, "since") )
timetype = TAXIS_RELATIVE;
while ( ! isspace(*ptu) && *ptu != 0 ) ptu++;
......
Supports Markdown
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