gdl/gdl-uninit.patch

13 lines
560 B
Diff
Raw Normal View History

diff -up gdl-0.9.8/src/GDLInterpreter.cpp.uninit gdl-0.9.8/src/GDLInterpreter.cpp
--- gdl-0.9.8/src/GDLInterpreter.cpp.uninit 2018-04-11 16:33:42.112906758 -0600
+++ gdl-0.9.8/src/GDLInterpreter.cpp 2018-04-11 22:14:29.401901171 -0600
@@ -2905,7 +2905,7 @@ void GDLInterpreter::tag_array_expr(Prog
BaseGDL* GDLInterpreter::r_dot_indexable_expr(ProgNodeP _t,
DotAccessDescT* aD
) {
- BaseGDL* res;
+ BaseGDL* res = NULL;
ProgNodeP r_dot_indexable_expr_AST_in = (_t == ProgNodeP(ASTNULL)) ? ProgNodeP(antlr::nullAST) : _t;
switch ( _t->getType()) {