* objcopy.c (copy_main): Initialize context variable.
authorKai Tietz <kai.tietz@onevision.com>
Fri, 15 Feb 2013 14:25:34 +0000 (14:25 +0000)
committerKai Tietz <kai.tietz@onevision.com>
Fri, 15 Feb 2013 14:25:34 +0000 (14:25 +0000)
binutils/ChangeLog
binutils/objcopy.c

index 54d4dab89ce839ca0b51acf0bb7accea1825be48..d2e6dd0ebc7989e9bec42345917152a13bbf5cf0 100644 (file)
@@ -1,3 +1,7 @@
+2013-02-15  Kai Tietz  <ktietz@redhat.com>
+
+       * objcopy.c (copy_main): Initialize context variable.
+
 2013-02-15  Nick Clifton  <nickc@redhat.com>
 
        PR binutils/15033
index 288aa52f3c4bf481868ebeee0c1304b42f937f0e..14f6b96c7d6785540110d7db67447303398a3e3d 100644 (file)
@@ -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;