change the way to hide warning so that it doesn't trigger cppcheck warnings
This commit is contained in:
parent
92b02bd26c
commit
90d05f597d
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue