Thanks, fixed as revision 16444
On Thu, 2017-06-08 at 12:11 -0500, Andy Goth wrote:
> As of today, http://valgrind.org/docs/manual/cg-manual.html includes
> the following example:
>
> enum E { A, B, C };
> enum E e;
> enum E table[] = { 1, 2, 3 };
> int i;
> ...
> i += table[e];
>
> I'm pretty s
As of today, http://valgrind.org/docs/manual/cg-manual.html includes the
following example:
enum E { A, B, C };
enum E e;
enum E table[] = { 1, 2, 3 };
int i;
...
i += table[e];
I'm pretty sure the third line should be written:
int table[] = { 1, 2, 3 };
--
Andy Goth |