summaryrefslogtreecommitdiff
path: root/mysys/my_getopt.c
diff options
context:
space:
mode:
authorAlexander Nozdrin <alik@sun.com>2010-09-28 19:15:58 +0400
committerAlexander Nozdrin <alik@sun.com>2010-09-28 19:15:58 +0400
commita79093cd94711ecc92168644935fa5803f354b95 (patch)
treedefcec65399a33d0e3662cb26c31a567cfbe8584 /mysys/my_getopt.c
parent4a2dd398e20dced5ba3bcb0763a5351687da69bb (diff)
parent657f07151ac2b9d14a018b2d1d3d27ea78895917 (diff)
downloadmariadb-git-a79093cd94711ecc92168644935fa5803f354b95.tar.gz
Auto-merge from mysql-5.5-merge.
Diffstat (limited to 'mysys/my_getopt.c')
-rw-r--r--mysys/my_getopt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/my_getopt.c b/mysys/my_getopt.c
index bc99bad3794..2ec2f8eb5c9 100644
--- a/mysys/my_getopt.c
+++ b/mysys/my_getopt.c
@@ -153,7 +153,7 @@ int handle_options(int *argc, char ***argv,
const struct my_option *longopts,
my_get_one_option get_one_option)
{
- uint opt_found, argvpos= 0, length;
+ uint UNINIT_VAR(opt_found), argvpos= 0, length;
my_bool end_of_options= 0, must_be_var, set_maximum_value,
option_is_loose;
char **pos, **pos_end, *optend, *opt_str, key_name[FN_REFLEN];