diff options
Diffstat (limited to 'gdb/cp-valprint.c')
-rw-r--r-- | gdb/cp-valprint.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/cp-valprint.c b/gdb/cp-valprint.c index bde5879..f5cb15e 100644 --- a/gdb/cp-valprint.c +++ b/gdb/cp-valprint.c @@ -68,8 +68,8 @@ cp_print_class_method (valaddr, type, stream) FILE *stream; { struct type *domain; - struct fn_field *f; - int j; + struct fn_field *f = NULL; + int j = 0; int len2; int offset; char *kind = ""; |