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
commit94e726ae3dfaaa36d2dee3f7e0454c8c2be84b25 (patch)
treedefcec65399a33d0e3662cb26c31a567cfbe8584 /mysys/my_getopt.c
parentaa400404397d85ce281a0141ad2c1ab9736f05b9 (diff)
parentd63db001b6b9b33919265efab2b02ee5b043da54 (diff)
downloadmariadb-git-94e726ae3dfaaa36d2dee3f7e0454c8c2be84b25.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];