summaryrefslogtreecommitdiff
path: root/desktop/test/deployment/executable_content
diff options
context:
space:
mode:
authorNorbert Thiebaud <nthiebaud@gmail.com>2010-11-21 13:01:15 -0600
committerNorbert Thiebaud <nthiebaud@gmail.com>2010-11-21 13:01:27 -0600
commit90d05f597dd096bc413dfaea7bb1dad8d7def1f0 (patch)
tree96fc4516e08c05ffcaa75d742558a621d7a46ea6 /desktop/test/deployment/executable_content
parent92b02bd26cb82816e76a929621d8dbf5085a4199 (diff)
change the way to hide warning so that it doesn't trigger cppcheck warnings
Diffstat (limited to 'desktop/test/deployment/executable_content')
-rw-r--r--desktop/test/deployment/executable_content/build/hello.c6
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;