From 8f0654600d1758be62c6a6454d13fe056c28c677 Mon Sep 17 00:00:00 2001 From: Florian Krohm Date: Wed, 22 Oct 2014 20:35:27 +0000 Subject: [PATCH] Constify a variable. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14655 --- coregrind/m_debuginfo/readmacho.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.47.2