Commit 2ce48f06 authored by Etienne Guesnet's avatar Etienne Guesnet Committed by Daniel Black

Fix build on GCC 5

parent a6e90992
......@@ -263,6 +263,7 @@ int main(int argc,char *argv[])
const char *msg;
const char *name;
char *unknown_error = 0;
char unknow_aix[30];
#if defined(_WIN32)
my_bool skip_win_message= 0;
#endif
......@@ -321,7 +322,6 @@ int main(int argc,char *argv[])
msg = strerror(code);
// On AIX, unknow error return " Error <CODE> occurred."
char unknow_aix[30];
snprintf(unknow_aix, sizeof(unknow_aix), " Error %3d occurred.", code);
/*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment