]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix a minor doc issue in cachegrind manual example
authorPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 9 Jun 2017 19:28:04 +0000 (19:28 +0000)
committerPhilippe Waroquiers <philippe.waroquiers@skynet.be>
Fri, 9 Jun 2017 19:28:04 +0000 (19:28 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@16444

cachegrind/docs/cg-manual.xml

index 6c87638bc60ed761148c90a846c51611046b6e1e..5f991b3f9a12f0ce88e31670eabc68fd594d9648 100644 (file)
@@ -1134,7 +1134,7 @@ switch (e)
 <programlisting><![CDATA[
 enum E { A, B, C };
 enum E e;
-enum E table[] = { 1, 2, 3 };
+int table[] = { 1, 2, 3 };
 int i;
 ...
 i += table[e];