summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorunknown <sanja@askmonty.org>2011-10-27 15:22:52 +0300
committerunknown <sanja@askmonty.org>2011-10-27 15:22:52 +0300
commit28e2777991b238d770529d0438e4f18fbfc3e271 (patch)
tree38f9c8b2a404dca974887089cfb67e492ee68e77 /client
parent78eb1d48c91f260cab3f616d8a9a8de8040d2347 (diff)
downloadmariadb-git-28e2777991b238d770529d0438e4f18fbfc3e271.tar.gz
Fix gcc 4.6 warnings about assigned but not used variables.
Fixed my_gethwaddr.c to allow compilation on Mac OS X.
Diffstat (limited to 'client')
-rw-r--r--client/mysqltest.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/mysqltest.cc b/client/mysqltest.cc
index 0b08564b07a..8fa30f3a13e 100644
--- a/client/mysqltest.cc
+++ b/client/mysqltest.cc
@@ -5222,7 +5222,8 @@ void do_connect(struct st_command *command)
int con_port= opt_port;
char *con_options;
my_bool con_ssl= 0, con_compress= 0;
- my_bool con_pipe= 0, con_shm= 0;
+ my_bool con_pipe= 0;
+ my_bool con_shm __attribute__ ((unused))= 0;
struct st_connection* con_slot;
static DYNAMIC_STRING ds_connection_name;