aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDavid M. Syzdek <david@syzdek.net>2023-01-11 16:18:23 -0900
committerDavid M. Syzdek <david@syzdek.net>2023-01-11 16:18:23 -0900
commitde173b494375c78fd6ffc954ef332b9c4fb976c1 (patch)
tree95c96447ca25a1c0bf665be94749effbf1790b18
parentb68b14d9abf45f47280b251d1f5801eb9e1b7707 (diff)
downloadotputils-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.c2
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;