From: Nick Clifton Date: Fri, 19 Feb 2016 16:15:48 +0000 (+0000) Subject: Fix snafu - add missing const declaration to 'string' local variable in s_stab_generic. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b37283a66b246609c74d75cb6757f5ecc2bfb8fa;p=binutils-gdb.git Fix snafu - add missing const declaration to 'string' local variable in s_stab_generic. --- diff --git a/gas/stabs.c b/gas/stabs.c index 6b739c7c95d..3b56a4872d1 100644 --- a/gas/stabs.c +++ b/gas/stabs.c @@ -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;