mysqltest.c Clean-ups.

parent 79999335
...@@ -950,8 +950,6 @@ int read_query(struct query** q_ptr) ...@@ -950,8 +950,6 @@ int read_query(struct query** q_ptr)
return 0; return 0;
} }
enum options {OPT_NODEFAULTS} ;
struct option long_options[] = struct option long_options[] =
{ {
{"verbose", no_argument, 0, 'v'}, {"verbose", no_argument, 0, 'v'},
...@@ -1030,7 +1028,7 @@ int parse_args(int argc, char **argv) ...@@ -1030,7 +1028,7 @@ int parse_args(int argc, char **argv)
{ {
my_free(pass,MYF(MY_ALLOW_ZERO_PTR)); my_free(pass,MYF(MY_ALLOW_ZERO_PTR));
pass=my_strdup(optarg,MYF(MY_FAE)); pass=my_strdup(optarg,MYF(MY_FAE));
while (*optarg) *optarg++= 'x'; // Destroy argument while (*optarg) *optarg++= 'x'; /* Destroy argument */
} }
else else
tty_password=1; tty_password=1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment