diff options
| author | David M. Syzdek <david@syzdek.net> | 2023-01-11 16:18:23 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2023-01-11 16:18:23 -0900 |
| commit | de173b494375c78fd6ffc954ef332b9c4fb976c1 (patch) | |
| tree | 95c96447ca25a1c0bf665be94749effbf1790b18 | |
| parent | b68b14d9abf45f47280b251d1f5801eb9e1b7707 (diff) | |
| download | otputils-de173b494375c78fd6ffc954ef332b9c4fb976c1.tar.gz otputils-de173b494375c78fd6ffc954ef332b9c4fb976c1.tar.bz2 otputils-de173b494375c78fd6ffc954ef332b9c4fb976c1.tar.xz otputils-de173b494375c78fd6ffc954ef332b9c4fb976c1.zip | |
libotputil: removing unused variable in otputil_otp_decode()
| -rw-r--r-- | lib/libotputil/lrfc2289-otp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libotputil/lrfc2289-otp.c b/lib/libotputil/lrfc2289-otp.c index fe96ce9..3dacab7 100644 --- a/lib/libotputil/lrfc2289-otp.c +++ b/lib/libotputil/lrfc2289-otp.c | |||
| @@ -126,7 +126,6 @@ otputil_otp_decode( | |||
| 126 | int rc; | 126 | int rc; |
| 127 | int method; | 127 | int method; |
| 128 | int pos; | 128 | int pos; |
| 129 | int len; | ||
| 130 | int val; | 129 | int val; |
| 131 | int wordcount; | 130 | int wordcount; |
| 132 | size_t bv_len; | 131 | size_t bv_len; |
| @@ -155,7 +154,6 @@ otputil_otp_decode( | |||
| 155 | 154 | ||
| 156 | // checks for six-word format with S/KEY dictionary | 155 | // checks for six-word format with S/KEY dictionary |
| 157 | method = 0; | 156 | method = 0; |
| 158 | len = -1; | ||
| 159 | bv_len = dst->bv_len; | 157 | bv_len = dst->bv_len; |
| 160 | dst->bv_len = 0; | 158 | dst->bv_len = 0; |
| 161 | wordcount = 0; | 159 | wordcount = 0; |
