summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Phillips <david@sighup.nz>2017-08-14 14:51:29 +1200
committerDavid Phillips <david@sighup.nz>2017-08-14 14:51:29 +1200
commitcc1bcf89c4ee298c793c6b28e930b05c4b800bbe (patch)
tree707a52714c86911364a4ebd1a729cf582a5d99fd
parent9337f809167b65a6b071c49975da1698b7a36392 (diff)
downloadodds-and-ends-cc1bcf89c4ee298c793c6b28e930b05c4b800bbe.tar.xz
Suppress warnings about argc and argv being unused
-rw-r--r--numbers-thing/numbers-thing.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/numbers-thing/numbers-thing.c b/numbers-thing/numbers-thing.c
index d3b2c3e..4a65180 100644
--- a/numbers-thing/numbers-thing.c
+++ b/numbers-thing/numbers-thing.c
@@ -110,6 +110,10 @@ dump_tree(struct bnode *node) {
int
main(int argc, char **argv) {
+ /* look, ma! No hands! */
+ (void)argc;
+ (void)argv;
+
struct bnode a,b,c,d,e, o1,o2,o3,o4;
/* ((1+2)/(3*(4-5))) */