cachegrind: minor documentation issue

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

cachegrind: minor documentation issue

Andy Goth
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 | <andrew.m.goth/at/gmail/dot/com>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-users
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: cachegrind: minor documentation issue

Philippe Waroquiers
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 sure the third line should be written:
>
> int table[] = { 1, 2, 3 };
>
> --
> Andy Goth | <andrew.m.goth/at/gmail/dot/com>
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________ Valgrind-users mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/valgrind-users



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Valgrind-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/valgrind-users
Loading...