]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - main.c
Make it compile with -Wall and -pedantic
[xonotic/gmqcc.git] / main.c
diff --git a/main.c b/main.c
index 2078079ad6beb33c3a4629f2d61e24d3007c7a5c..ce09f357b91bf3aad074b9b86bfd472852131fd6 100644 (file)
--- a/main.c
+++ b/main.c
@@ -256,7 +256,7 @@ static bool options_parse(int argc, char **argv) {
                 case 'h':
                     usage();
                     exit(0);
-                    break;
+                    /* break; never reached because of exit(0) */
 
                 case 'E':
                     opts_pp_only = true;
@@ -384,7 +384,6 @@ static bool options_parse(int argc, char **argv) {
         else
         {
             /* it's a QC filename */
-            argitem item;
             item.filename = argv[0];
             item.type     = TYPE_QC;
             vec_push(items, item);