aboutsummaryrefslogtreecommitdiffstats
path: root/src/cg-negative.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2016-12-01 03:23:03 +0100
committerMattias Andrée <maandree@kth.se>2016-12-01 03:23:03 +0100
commit9ecf9c624c5272cf8d576ec173283ebfe72fd373 (patch)
tree8e098894b688a45144a6e7de81b97959490f0785 /src/cg-negative.c
parentAdd makefile (diff)
downloadcg-tools-9ecf9c624c5272cf8d576ec173283ebfe72fd373.tar.gz
cg-tools-9ecf9c624c5272cf8d576ec173283ebfe72fd373.tar.bz2
cg-tools-9ecf9c624c5272cf8d576ec173283ebfe72fd373.tar.xz
Fix warnings
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/cg-negative.c')
-rw-r--r--src/cg-negative.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/cg-negative.c b/src/cg-negative.c
index ef61752..106c15c 100644
--- a/src/cg-negative.c
+++ b/src/cg-negative.c
@@ -35,7 +35,7 @@ const int64_t default_priority = ((int64_t)1) << 62;
/**
* The default class for the program
*/
-char* const default_class = PKGNAME "::cg-negative::standard";
+char default_class[] = PKGNAME "::cg-negative::standard";
@@ -132,6 +132,7 @@ int handle_opt(char* opt, char* arg)
usage();
}
return 0;
+ (void) arg;
}
@@ -160,6 +161,8 @@ int handle_args(int argc, char* argv[], char* method, char* site,
if (argc || (q > 1) || (xflag && (prio != NULL)))
usage();
return 0;
+ (void) argv;
+ (void) site;
}