diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-09-23 11:06:53 +0200 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2017-09-24 10:29:52 +0000 |
commit | 38e625b48faad3bf803d187bd86a96b9bda46e6a (patch) | |
tree | c24ac2cb30f54a43e9d7361984718040e0aab95c /src | |
parent | ce9a007462ef9e702e7a9d1c00a46e31bfbd3ce9 (diff) | |
download | gnutls-38e625b48faad3bf803d187bd86a96b9bda46e6a.tar.gz |
srptool: removed unused variables
Signed-off-by: Nikos Mavrogiannopoulos <nmav@gnutls.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/srptool.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/srptool.c b/src/srptool.c index e2311179c0..b48319301c 100644 --- a/src/srptool.c +++ b/src/srptool.c @@ -381,7 +381,6 @@ int main(int argc, char **argv) { const char *passwd; int salt_size, ret; - int optct; const char *fpasswd, *fpasswd_conf; const char *username; #ifndef _WIN32 @@ -395,9 +394,7 @@ int main(int argc, char **argv) umask(066); - optct = optionProcess(&srptoolOptions, argc, argv); - argc -= optct; - argv += optct; + optionProcess(&srptoolOptions, argc, argv); gnutls_global_set_log_function(tls_log_func); gnutls_global_set_log_level(OPT_VALUE_DEBUG); |