Module Name: src
Committed By: christos
Date: Thu Nov 14 01:00:22 UTC 2013
Modified Files:
src/external/gpl3/gdb/dist/gdb: p-exp.y
Log Message:
CID 1102812: Fix uninitialized
To generate a diff of this commit:
cvs rdiff -u -r1.1.1.2 -r1.2 src/external/gpl3/gdb/dist/gdb/p-exp.y
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gdb/dist/gdb/p-exp.y
diff -u src/external/gpl3/gdb/dist/gdb/p-exp.y:1.1.1.2 src/external/gpl3/gdb/dist/gdb/p-exp.y:1.2
--- src/external/gpl3/gdb/dist/gdb/p-exp.y:1.1.1.2 Thu Oct 3 11:50:55 2013
+++ src/external/gpl3/gdb/dist/gdb/p-exp.y Wed Nov 13 20:00:22 2013
@@ -1522,7 +1522,7 @@ yylex (void)
{
char *tmp = copy_name (yylval.sval);
struct symbol *sym;
- struct field_of_this_result is_a_field_of_this;
+ struct field_of_this_result is_a_field_of_this = { .type = NULL };
int is_a_field = 0;
int hextype;