Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/external/gpl3/gdb/dist/gdb CID 1102812: Fix uninitialized



details:   https://anonhg.NetBSD.org/src/rev/8f7d03ee7ad4
branches:  trunk
changeset: 791347:8f7d03ee7ad4
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Nov 14 01:00:22 2013 +0000

description:
CID 1102812: Fix uninitialized

diffstat:

 external/gpl3/gdb/dist/gdb/p-exp.y |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r b29af183d102 -r 8f7d03ee7ad4 external/gpl3/gdb/dist/gdb/p-exp.y
--- a/external/gpl3/gdb/dist/gdb/p-exp.y        Thu Nov 14 00:50:36 2013 +0000
+++ b/external/gpl3/gdb/dist/gdb/p-exp.y        Thu Nov 14 01:00:22 2013 +0000
@@ -1522,7 +1522,7 @@
   {
     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;
 



Home | Main Index | Thread Index | Old Index