diff options
| author | David M. Syzdek <david@syzdek.net> | 2023-01-12 02:38:02 -0900 |
|---|---|---|
| committer | David M. Syzdek <david@syzdek.net> | 2023-01-12 02:38:02 -0900 |
| commit | 6ddf4274ca1c6faa9cd05c45de46426f38c03513 (patch) | |
| tree | 393fb5da8bd98458f6faf60b5dae4747c63ba470 | |
| parent | 6212ed4c27c272bd7335c39fa82b9811fcfda7b0 (diff) | |
| download | otputils-6ddf4274ca1c6faa9cd05c45de46426f38c03513.tar.gz otputils-6ddf4274ca1c6faa9cd05c45de46426f38c03513.tar.bz2 otputils-6ddf4274ca1c6faa9cd05c45de46426f38c03513.tar.xz otputils-6ddf4274ca1c6faa9cd05c45de46426f38c03513.zip | |
test-otp: removing unused variable
| -rw-r--r-- | tests/test-otp.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test-otp.c b/tests/test-otp.c index 9a522fc..1c17cd1 100644 --- a/tests/test-otp.c +++ b/tests/test-otp.c | |||
| @@ -122,7 +122,6 @@ main( | |||
| 122 | int c; | 122 | int c; |
| 123 | int opt_index; | 123 | int opt_index; |
| 124 | int pos; | 124 | int pos; |
| 125 | const otputil_bv_t * dat; | ||
| 126 | otptest_t * rec; | 125 | otptest_t * rec; |
| 127 | int errs; | 126 | int errs; |
| 128 | char * res; | 127 | char * res; |
| @@ -196,7 +195,6 @@ main( | |||
| 196 | for(pos = 0; ((otp_test_data[pos].hex)); pos++) | 195 | for(pos = 0; ((otp_test_data[pos].hex)); pos++) |
| 197 | { | 196 | { |
| 198 | rec = &otp_test_data[pos]; | 197 | rec = &otp_test_data[pos]; |
| 199 | dat = &rec->dat; | ||
| 200 | 198 | ||
| 201 | if ( (!(rec->pass)) || (!(rec->seed)) ) | 199 | if ( (!(rec->pass)) || (!(rec->seed)) ) |
| 202 | continue; | 200 | continue; |
