summaryrefslogtreecommitdiff
path: root/mysys/string.c
diff options
context:
space:
mode:
authorunknown <tonu@x153.internalnet>2001-08-26 00:18:20 +0800
committerunknown <tonu@x153.internalnet>2001-08-26 00:18:20 +0800
commitcc22852e2e916adca848ae0720131d0963bf8a84 (patch)
tree331432870e74ba240b433c254eede371858b486e /mysys/string.c
parentee5ba7642cb68845a4cb07060b50699a58430b27 (diff)
downloadmariadb-git-cc22852e2e916adca848ae0720131d0963bf8a84.tar.gz
Some warning fixes and some SSL testprograms check-in
extra/resolveip.c: Removed warnings about implicit declarations myisam/mi_open.c: Removed warning about unused symbol mysys/my_compress.c: Removed warnings about implicit declaration mysys/string.c: Removed warning about uninitialized variable strings/ctype.c: Removed warning about implicit declaration vio/test-sslclient.c: Testprogram heavy modify vio/test-sslserver.c: Testprogram heavy modify
Diffstat (limited to 'mysys/string.c')
-rw-r--r--mysys/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/string.c b/mysys/string.c
index 96a503c1179..2e0f4d3c9fe 100644
--- a/mysys/string.c
+++ b/mysys/string.c
@@ -51,7 +51,7 @@ my_bool init_dynamic_string(DYNAMIC_STRING *str, const char *init_str,
my_bool dynstr_set(DYNAMIC_STRING *str, const char *init_str)
{
- uint length;
+ uint length=0;
DBUG_ENTER("dynstr_set");
if (init_str && (length= (uint) strlen(init_str)+1) > str->max_length)