From b37283a66b246609c74d75cb6757f5ecc2bfb8fa Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Fri, 19 Feb 2016 16:15:48 +0000 Subject: [PATCH] Fix snafu - add missing const declaration to 'string' local variable in s_stab_generic. --- gas/stabs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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; -- 2.30.2