]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Constify a variable.
authorFlorian Krohm <florian@eich-krohm.de>
Wed, 22 Oct 2014 20:35:27 +0000 (20:35 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Wed, 22 Oct 2014 20:35:27 +0000 (20:35 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14655

coregrind/m_debuginfo/readmacho.c

index 9c3180259d18278c6dcb74852c28267ee0d40ae1..31d324ebd25633089f3ec60c5a7fe4a5bb2950d1 100644 (file)
@@ -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;