Skip to content
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

Open
samueloph opened this issue Oct 3, 2018 · 0 comments
Open

Unused variables #7

samueloph opened this issue Oct 3, 2018 · 0 comments

Comments

@samueloph
Copy link
Contributor

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;
^~~

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant