mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-26 11:11:00 +02:00
Fix some cppcheck warnings.
This commit is contained in:
+2
-2
@@ -261,7 +261,7 @@ json_value * json_parse_ex (json_settings * settings,
|
||||
const json_char * end;
|
||||
json_value * top, * root, * alloc = 0;
|
||||
json_state state = { 0 };
|
||||
long flags = 0;
|
||||
long flags;
|
||||
int num_digits = 0;
|
||||
double num_e = 0, num_fraction = 0;
|
||||
|
||||
@@ -873,7 +873,7 @@ json_value * json_parse_ex (json_settings * settings,
|
||||
goto e_failed;
|
||||
}
|
||||
|
||||
top->u.dbl *= pow (10.0, (flags & flag_num_e_negative ? - num_e : num_e));
|
||||
top->u.dbl *= pow (10.0, ((flags & flag_num_e_negative) ? - num_e : num_e));
|
||||
}
|
||||
|
||||
if (flags & flag_num_negative)
|
||||
|
||||
Reference in New Issue
Block a user