change the way to hide warning so that it doesn't trigger cppcheck warnings

This commit is contained in:
Norbert Thiebaud 2010-11-21 13:01:15 -06:00
parent 92b02bd26c
commit 90d05f597d

View file

@ -35,9 +35,9 @@ int main(int argc , char** argv, char** envp)
{
//prevent warning about unused parameters
//we need to provide parameter names in C
argc = argc;
argv = argv;
envp = envp;
(void)argc;
(void)argv;
(void)envp;
fprintf(stdout,"Hello world!\n");
return 0;