Fix snafu - add missing const declaration to 'string' local variable in s_stab_generic.
authorNick Clifton <nickc@redhat.com>
Fri, 19 Feb 2016 16:15:48 +0000 (16:15 +0000)
committerNick Clifton <nickc@redhat.com>
Fri, 19 Feb 2016 16:15:48 +0000 (16:15 +0000)
gas/stabs.c

index 6b739c7c95d5b3f857f15e4d4f412a437cf65a69..3b56a4872d14b7a0a96d24783d8c49f84df7bdfd 100644 (file)
@@ -181,7 +181,8 @@ s_stab_generic (int          what,
                const char * stabstr_secname)
 {
   long longint;
-  char *string, *saved_string_obstack_end;
+  const char *string;
+  char *saved_string_obstack_end;
   int type;
   int other;
   int desc;