From 4933f173551678bcab777f2250f68e78f87de1ea Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Tue, 12 Mar 2002 05:45:50 +0000 Subject: [PATCH] Fix warning. svn path=/trunk/yasm/; revision=491 --- modules/objfmts/dbg/dbg-objfmt.c | 2 +- src/objfmts/dbg/dbg-objfmt.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/objfmts/dbg/dbg-objfmt.c b/modules/objfmts/dbg/dbg-objfmt.c index b8100a47..fc81deef 100644 --- a/modules/objfmts/dbg/dbg-objfmt.c +++ b/modules/objfmts/dbg/dbg-objfmt.c @@ -146,7 +146,7 @@ dbg_objfmt_common_data_new(const char *name, /*@only@*/ expr *size, static void * dbg_objfmt_declare_data_copy(SymVisibility vis, /*@only@*/ void *data) { - void *retval; + void *retval = NULL; fprintf(debug_file, "%*sdeclare_data_copy(", indent_level, ""); switch (vis) { diff --git a/src/objfmts/dbg/dbg-objfmt.c b/src/objfmts/dbg/dbg-objfmt.c index b8100a47..fc81deef 100644 --- a/src/objfmts/dbg/dbg-objfmt.c +++ b/src/objfmts/dbg/dbg-objfmt.c @@ -146,7 +146,7 @@ dbg_objfmt_common_data_new(const char *name, /*@only@*/ expr *size, static void * dbg_objfmt_declare_data_copy(SymVisibility vis, /*@only@*/ void *data) { - void *retval; + void *retval = NULL; fprintf(debug_file, "%*sdeclare_data_copy(", indent_level, ""); switch (vis) {