diff options
author | Werner Koch <[email protected]> | 2008-10-20 13:53:23 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2008-10-20 13:53:23 +0000 |
commit | 0a5f7424660e404e5fd0361b9331d154acf01d6c (patch) | |
tree | b84fb5a994045e12eb326441d8c924094bd915cd /jnlib/argparse.c | |
parent | Fix a bug in estream_snprintf. Found by a failed t-gettime under Windows. (diff) | |
download | gnupg-0a5f7424660e404e5fd0361b9331d154acf01d6c.tar.gz gnupg-0a5f7424660e404e5fd0361b9331d154acf01d6c.zip |
Marked all unused args on non-W32 platforms.
Diffstat (limited to 'jnlib/argparse.c')
-rw-r--r-- | jnlib/argparse.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/jnlib/argparse.c b/jnlib/argparse.c index 120b09eb8..5813b9b82 100644 --- a/jnlib/argparse.c +++ b/jnlib/argparse.c @@ -229,6 +229,9 @@ store_alias( ARGPARSE_ARGS *arg, char *name, char *value ) * and fix the probelms IRIX has with (ALIAS_DEV)arg.. * used as lvalue */ + (void)arg; + (void)name; + (void)value; #if 0 ALIAS_DEF a = jnlib_xmalloc( sizeof *a ); a->name = name; @@ -507,6 +510,8 @@ find_long_option( ARGPARSE_ARGS *arg, int i; size_t n; + (void)arg; + /* Would be better if we can do a binary search, but it is not possible to reorder our option table because we would mess up our help strings - What we can do is: Build a nice option |