expr: Fix compiler warning on older gcc
commit1f031298c06972367568894ca8d5bfe770545e1b
authorSteve Bennett <steveb@workware.net.au>
Fri, 10 Nov 2017 04:17:52 +0000 (10 14:17 +1000)
committerSteve Bennett <steveb@workware.net.au>
Thu, 5 Jul 2018 03:02:42 +0000 (5 13:02 +1000)
treeeb59e04281c7525a68bad6ec2639fa5a08f1e61b
parent3951ccfaa69a310cd5c8cd290090594366fd104c
expr: Fix compiler warning on older gcc

jim/jim.c: In function ‘SetExprFromAny’:
jim/jim.c:9109:16: error: ‘top’ may be used uninitialized in this function [-Werror=maybe-uninitialized]
     expr->expr = top;
                ^
jim/jim.c:9075:25: note: ‘top’ was declared here
     struct JimExprNode *top;

Signed-off-by: Steve Bennett <steveb@workware.net.au>
jim.c