diff options
author | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-11-21 13:01:15 -0600 |
---|---|---|
committer | Norbert Thiebaud <nthiebaud@gmail.com> | 2010-11-21 13:01:27 -0600 |
commit | 90d05f597dd096bc413dfaea7bb1dad8d7def1f0 (patch) | |
tree | 96fc4516e08c05ffcaa75d742558a621d7a46ea6 /desktop/test | |
parent | adjust .gitignore for MacOS (diff) | |
download | core-90d05f597dd096bc413dfaea7bb1dad8d7def1f0.tar.gz core-90d05f597dd096bc413dfaea7bb1dad8d7def1f0.zip |
change the way to hide warning so that it doesn't trigger cppcheck warnings
Diffstat (limited to 'desktop/test')
-rw-r--r-- | desktop/test/deployment/executable_content/build/hello.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/test/deployment/executable_content/build/hello.c b/desktop/test/deployment/executable_content/build/hello.c index 4b5b1ae47418..4af0b02ff888 100644 --- a/desktop/test/deployment/executable_content/build/hello.c +++ b/desktop/test/deployment/executable_content/build/hello.c @@ -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; |