From: Florian Krohm Date: Wed, 22 Oct 2014 20:35:27 +0000 (+0000) Subject: Constify a variable. X-Git-Tag: svn/VALGRIND_3_11_0~893 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f0654600d1758be62c6a6454d13fe056c28c677;p=thirdparty%2Fvalgrind.git Constify a variable. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14655 --- diff --git a/coregrind/m_debuginfo/readmacho.c b/coregrind/m_debuginfo/readmacho.c index 9c3180259d..31d324ebd2 100644 --- a/coregrind/m_debuginfo/readmacho.c +++ b/coregrind/m_debuginfo/readmacho.c @@ -305,7 +305,7 @@ void read_symtab( /*OUT*/XArray* /* DiSym */ syms, DiSym disym; // "start_according_to_valgrind" - static HChar* s_a_t_v = NULL; /* do not make non-static */ + static const HChar* s_a_t_v = NULL; /* do not make non-static */ for (i = 0; i < symtab_count; i++) { struct NLIST nl;