From 76d8cf45bb12ae6d8fc41d92579a2e166efb5b2f Mon Sep 17 00:00:00 2001 From: Kai Tietz Date: Fri, 15 Feb 2013 14:25:34 +0000 Subject: * objcopy.c (copy_main): Initialize context variable. --- binutils/ChangeLog | 4 ++++ binutils/objcopy.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'binutils') diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 54d4dab..d2e6dd0 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,7 @@ +2013-02-15 Kai Tietz + + * objcopy.c (copy_main): Initialize context variable. + 2013-02-15 Nick Clifton PR binutils/15033 diff --git a/binutils/objcopy.c b/binutils/objcopy.c index 288aa52..14f6b96 100644 --- a/binutils/objcopy.c +++ b/binutils/objcopy.c @@ -3662,7 +3662,7 @@ copy_main (int argc, char *argv[]) case OPTION_CHANGE_SECTION_VMA: { struct section_list * p; - unsigned int context; + unsigned int context = 0; const char *s; int len; char *name; -- cgit v1.1