summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.mysql.com>2008-01-09 10:20:15 +0100
committerunknown <msvensson@pilot.mysql.com>2008-01-09 10:20:15 +0100
commit039123e1874cc81e5fb2d0143d1bda9757c163fc (patch)
tree99aedd913495b3ac93d847202ef93fc9af0e1aa2
parentcd7ab06e082333386e8c806299b41e789600c68f (diff)
downloadmariadb-git-039123e1874cc81e5fb2d0143d1bda9757c163fc.tar.gz
Fix warnings
-rw-r--r--client/mysqltest.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/client/mysqltest.c b/client/mysqltest.c
index ad9e7452430..1d02f4dbec2 100644
--- a/client/mysqltest.c
+++ b/client/mysqltest.c
@@ -7406,7 +7406,9 @@ void do_get_replace(struct st_command *command)
if (!*from)
die("Wrong number of arguments to replace_result in '%s'",
command->query);
- IF_WIN(fix_win_paths(to, from - to), 0);
+#ifdef __WIN__
+ fix_win_paths(to, from - to);
+#endif
insert_pointer_name(&from_array,to);
to= get_string(&buff, &from, command);
insert_pointer_name(&to_array,to);
@@ -8597,7 +8599,9 @@ void free_pointer_array(POINTER_ARRAY *pa)
void replace_dynstr_append_mem(DYNAMIC_STRING *ds,
const char *val, int len)
{
- IF_WIN(fix_win_paths(val, len), 0);
+#ifdef __WIN__
+ fix_win_paths(val, len);
+#endif
if (glob_replace_regex)
{