summaryrefslogtreecommitdiff
path: root/extra
diff options
context:
space:
mode:
authorVladislav Vaintroub <vvaintroub@mysql.com>2009-11-25 15:20:14 +0100
committerVladislav Vaintroub <vvaintroub@mysql.com>2009-11-25 15:20:14 +0100
commit68cfabcc10b194e651aa681d804fc15754744204 (patch)
treee06536a82dab9f0549416006195fc1371ff528db /extra
parent39a158221ddac1c83766fe0b4635d854a664f262 (diff)
parentbe0add42f53b23d8a5e279cb3041a3fc93e375a0 (diff)
downloadmariadb-git-68cfabcc10b194e651aa681d804fc15754744204.tar.gz
merge
Diffstat (limited to 'extra')
-rw-r--r--extra/comp_err.c8
-rw-r--r--extra/replace.c4
2 files changed, 6 insertions, 6 deletions
diff --git a/extra/comp_err.c b/extra/comp_err.c
index 405f745eaf3..4bcd4c74a1d 100644
--- a/extra/comp_err.c
+++ b/extra/comp_err.c
@@ -1039,11 +1039,11 @@ static char *parse_text_line(char *pos)
switch (*++pos) {
case '\\':
case '"':
- VOID(strmov(pos - 1, pos));
+ (void) strmov(pos - 1, pos);
break;
case 'n':
pos[-1]= '\n';
- VOID(strmov(pos, pos + 1));
+ (void) strmov(pos, pos + 1);
break;
default:
if (*pos >= '0' && *pos < '8')
@@ -1053,10 +1053,10 @@ static char *parse_text_line(char *pos)
nr= nr * 8 + (*(pos++) - '0');
pos -= i;
pos[-1]= nr;
- VOID(strmov(pos, pos + i));
+ (void) strmov(pos, pos + i);
}
else if (*pos)
- VOID(strmov(pos - 1, pos)); /* Remove '\' */
+ (void) strmov(pos - 1, pos); /* Remove '\' */
}
}
else
diff --git a/extra/replace.c b/extra/replace.c
index 9b7695eddcb..3f07183807c 100644
--- a/extra/replace.c
+++ b/extra/replace.c
@@ -311,7 +311,7 @@ static int insert_pointer_name(reg1 POINTER_ARRAY *pa,char * name)
pa->flag[pa->typelib.count]=0; /* Reset flag */
pa->typelib.type_names[pa->typelib.count++]= (char*) (pa->str+pa->length);
pa->typelib.type_names[pa->typelib.count]= NullS; /* Put end-mark */
- VOID(strmov((char*) pa->str + pa->length, name));
+ (void) strmov((char*) pa->str + pa->length, name);
pa->length+=length;
DBUG_RETURN(0);
} /* insert_pointer_name */
@@ -433,7 +433,7 @@ static REPLACE *init_replace(char * *from, char * *to,uint count,
free_sets(&sets);
DBUG_RETURN(0);
}
- VOID(make_new_set(&sets)); /* Set starting set */
+ (void) make_new_set(&sets); /* Set starting set */
make_sets_invisible(&sets); /* Hide previus sets */
used_sets=-1;
word_states=make_new_set(&sets); /* Start of new word */