-
Notifications
You must be signed in to change notification settings - Fork 37
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unused variables #7
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello, my build output of cowpatty shows some warnings of unused variables, you may want to remove them.
cowpatty.c: In function 'handle_dot1x':
cowpatty.c:438:16: warning: variable 'index' set but not used [-Wunused-but-set-variable]
int key_info, index;
^~~~~
cowpatty.c: In function 'hashfile_attack':
cowpatty.c:727:6: warning: variable 'reclen' set but not used [-Wunused-but-set-variable]
int reclen, wordlen;
^~~~~~
genpmk.c: In function 'main':
genpmk.c:82:19: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int fret = 0, c, ret;
^~~
cowpatty.c: In function 'handle_dot1x':
cowpatty.c:438:16: warning: variable 'index' set but not used [-Wunused-but-set-variable]
int key_info, index;
^~~~~
cowpatty.c: In function 'hashfile_attack':
cowpatty.c:727:6: warning: variable 'reclen' set but not used [-Wunused-but-set-variable]
int reclen, wordlen;
^~~~~~
genpmk.c: In function 'main':
genpmk.c:82:19: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
int fret = 0, c, ret;
^~~
The text was updated successfully, but these errors were encountered: