diff options
author | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-06-08 16:20:54 -0300 |
---|---|---|
committer | Davi Arnaut <Davi.Arnaut@Sun.COM> | 2010-06-08 16:20:54 -0300 |
commit | 514e407c44e408ac120e5053b8fc4651f1cb089c (patch) | |
tree | 805a97ab3d14ecf37110d79e92709531afe128cd /include/my_sys.h | |
parent | f63046319b333daf85330765c398e5ab52aebf20 (diff) | |
download | mariadb-git-514e407c44e408ac120e5053b8fc4651f1cb089c.tar.gz |
Bug#53906: Stray semicolon in my_sys.h corrupts macro function definition of MY_INIT
Diffstat (limited to 'include/my_sys.h')
-rw-r--r-- | include/my_sys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/my_sys.h b/include/my_sys.h index 4ec4846f528..40ae6924f9f 100644 --- a/include/my_sys.h +++ b/include/my_sys.h @@ -37,7 +37,7 @@ extern int NEAR my_errno; /* Last error in mysys */ #define MYSYS_PROGRAM_USES_CURSES() { error_handler_hook = my_message_curses; mysys_uses_curses=1; } #define MYSYS_PROGRAM_DONT_USE_CURSES() { error_handler_hook = my_message_no_curses; mysys_uses_curses=0;} -#define MY_INIT(name); { my_progname= name; my_init(); } +#define MY_INIT(name) { my_progname= name; my_init(); } #define ERRMSGSIZE (SC_MAXWIDTH) /* Max length of a error message */ #define NRERRBUFFS (2) /* Buffers for parameters */ |