diff options
author | Stef Walter <stef@thewalter.net> | 2014-08-08 17:40:21 +0200 |
---|---|---|
committer | Stef Walter <stef@thewalter.net> | 2014-08-08 18:44:51 +0200 |
commit | f1d563400c9747d6c470cba7abfa9a31d92349d3 (patch) | |
tree | 9b85467ffa4654f83d69a830d31431c381f2a281 /trust | |
parent | 26b3e98f7934bd47ab3d387124135f254bd6f8ba (diff) |
Quiten down scanner warnings about unused variables
Diffstat (limited to 'trust')
-rw-r--r-- | trust/list.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/trust/list.c b/trust/list.c index 7ee4926..8a172eb 100644 --- a/trust/list.c +++ b/trust/list.c @@ -230,10 +230,7 @@ p11_trust_list (int argc, } } - argc -= optind; - argv += optind; - - if (argc != 0) { + if (argc - optind != 0) { p11_message ("extra arguments passed to command"); exit (2); } |