mirror of
https://github.com/nasa/trick.git
synced 2025-01-18 10:46:26 +00:00
handle edge default case for uninitialized value in eqparse
This commit is contained in:
parent
55db7fc708
commit
855510da63
@ -20,7 +20,7 @@ double eval(stack * stk, stack1 * no)
|
||||
{
|
||||
|
||||
stack1 nos = NULL;
|
||||
double x, y, z;
|
||||
double x, y, z = 0.0;
|
||||
char ch;
|
||||
ldiv_t ldivt;
|
||||
while (!empty(*stk)) {
|
||||
|
Loading…
Reference in New Issue
Block a user