Re:Android Project Changeset 4f8b683: libc/memset.c
by jey on Tuesday May 25, 2010 @08:39PM
(#1379154)
The unused function parameter warning is usually one of the most annoying and least useful. I routinely compile with "-Wall -Wno-unused" because I don't want to litter my code with casts to void.
[ Parent
| on HN ]
Re:Android Project Changeset 4f8b683: libc/memset.c
by wvenable on Tuesday May 25, 2010 @10:04PM
(#1379296)
What's with all the unused function parameters? Shouldn't that be an edge case?
Re:Android Project Changeset 4f8b683: libc/memset.c
by tedunangst on Tuesday May 25, 2010 @10:21PM
(#1379326)
Just about every callback interface takes a function pointer where the function expects a void * argument. Half the time it's not needed.