diff options
Diffstat (limited to 'mysys/errors.c')
-rw-r--r-- | mysys/errors.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/mysys/errors.c b/mysys/errors.c index 5401c2b3cc6..5f548cad480 100644 --- a/mysys/errors.c +++ b/mysys/errors.c @@ -53,15 +53,13 @@ const char * NEAR globerrs[GLOBERRS]= void init_glob_errs(void) { - my_errmsg[GLOB] = & globerrs[0]; -} /* init_glob_errs */ + /* This is now done statically. */ +} #else void init_glob_errs() { - my_errmsg[GLOB] = & globerrs[0]; - EE(EE_FILENOTFOUND) = "File '%s' not found (Errcode: %d)"; EE(EE_CANTCREATEFILE) = "Can't create/write to file '%s' (Errcode: %d)"; EE(EE_READ) = "Error reading file '%s' (Errcode: %d)"; |