diff options
author | marko@hundin.mysql.fi <> | 2004-02-20 16:34:09 +0200 |
---|---|---|
committer | marko@hundin.mysql.fi <> | 2004-02-20 16:34:09 +0200 |
commit | 234e9abf6afb47cd3200eb2f7c421d644a6047ab (patch) | |
tree | 96c04a7ccc804314e3737d02fc081513e1e827db /innobase/ut | |
parent | 7acccd81dc23a89e9221d265e0bcaf3a544ea09b (diff) | |
download | mariadb-git-234e9abf6afb47cd3200eb2f7c421d644a6047ab.tar.gz |
Many files:
Removed unused code
.del-os0trash.c~8cae5c1695501117:
Delete: innobase/os/os0trash.c
dict0crea.c:
Protect all sprintf(%s) with assertions
Diffstat (limited to 'innobase/ut')
-rw-r--r-- | innobase/ut/ut0dbg.c | 7 | ||||
-rw-r--r-- | innobase/ut/ut0mem.c | 2 | ||||
-rw-r--r-- | innobase/ut/ut0ut.c | 1 |
3 files changed, 2 insertions, 8 deletions
diff --git a/innobase/ut/ut0dbg.c b/innobase/ut/ut0dbg.c index 970dd501fad..d6593b70217 100644 --- a/innobase/ut/ut0dbg.c +++ b/innobase/ut/ut0dbg.c @@ -18,10 +18,3 @@ ibool ut_dbg_stop_threads = FALSE; /* Null pointer used to generate memory trap */ ulint* ut_dbg_null_ptr = NULL; - -/* Dummy function to prevent gcc from ignoring this file */ -void -ut_dummy(void) -{ - printf("Hello world\n"); -} diff --git a/innobase/ut/ut0mem.c b/innobase/ut/ut0mem.c index 5dee08d64c3..eca738f0924 100644 --- a/innobase/ut/ut0mem.c +++ b/innobase/ut/ut0mem.c @@ -244,4 +244,4 @@ ut_str_contains( } return(FALSE); -}
\ No newline at end of file +} diff --git a/innobase/ut/ut0ut.c b/innobase/ut/ut0ut.c index 06bfb5c45ba..be311764261 100644 --- a/innobase/ut/ut0ut.c +++ b/innobase/ut/ut0ut.c @@ -13,6 +13,7 @@ Created 5/11/1994 Heikki Tuuri #endif #include <stdarg.h> +#include <string.h> #include "ut0sort.h" |