From 90d05f597dd096bc413dfaea7bb1dad8d7def1f0 Mon Sep 17 00:00:00 2001 From: Norbert Thiebaud Date: Sun, 21 Nov 2010 13:01:15 -0600 Subject: [PATCH] change the way to hide warning so that it doesn't trigger cppcheck warnings --- desktop/test/deployment/executable_content/build/hello.c | 6 +++--- 1 file 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;