[Libreoffice-commits] .: 2 commits - desktop/test .gitignore

Norbert Thiebaud nthiebaud at kemper.freedesktop.org
Sun Nov 21 11:01:34 PST 2010


 .gitignore                                               |    2 ++
 desktop/test/deployment/executable_content/build/hello.c |    6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

New commits:
commit c0eb310c3e62c25fa497fa3a75f0bcb00cfa59b9
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Nov 21 13:01:15 2010 -0600

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

diff --git a/desktop/test/deployment/executable_content/build/hello.c b/desktop/test/deployment/executable_content/build/hello.c
index 4e86d9d..e5f41dc 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;
commit e2f7a43ebed164a97cc394d258caae46e989247e
Author: Norbert Thiebaud <nthiebaud at gmail.com>
Date:   Sun Nov 21 12:59:09 2010 -0600

    adjust .gitignore for MacOS

diff --git a/.gitignore b/.gitignore
index 50784a4..2fc1892 100644
--- a/.gitignore
+++ b/.gitignore
@@ -7,3 +7,5 @@
 /*/unxlng??.pro
 /*/wntmsci??
 /*/wntmsci??.pro
+/*/unxmac??
+/*/unxmac??.pro


More information about the Libreoffice-commits mailing list