Skip to content
Snippets Groups Projects
Commit ed0ae4ef authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Don't use initializers for auto vars.

parent 0503205c
No related branches found
No related tags found
No related merge requests found
......@@ -146,7 +146,10 @@ gen_pass (unsigned int len)
const unsigned char autogen[] =
"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz1234567890.,";
int i;
Salt salt = {NULL, 0};
Salt salt;
salt.salt = NULL;
salt.len = 0;
make_salt (&salt, len);
for (i = 0; i < len; i++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment