summaryrefslogtreecommitdiff
path: root/strings/my_vsnprintf.c
diff options
context:
space:
mode:
authormonty@narttu.mysql.fi <>2003-04-03 21:19:14 +0300
committermonty@narttu.mysql.fi <>2003-04-03 21:19:14 +0300
commit4a4838059fd109428eb90df27c4682b9d206cbb0 (patch)
treeb27e4cc9b07c5b7c391798dccc4673d37d45e6dd /strings/my_vsnprintf.c
parent22075460d8fee5fbf06f0c698a8eb84d5b3ec2be (diff)
downloadmariadb-git-4a4838059fd109428eb90df27c4682b9d206cbb0.tar.gz
Fixed bug in warning handling (Memory was allocated from wrong MEM_ROOT)
Diffstat (limited to 'strings/my_vsnprintf.c')
-rw-r--r--strings/my_vsnprintf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/strings/my_vsnprintf.c b/strings/my_vsnprintf.c
index 34dee0f839f..a9fdc3718a8 100644
--- a/strings/my_vsnprintf.c
+++ b/strings/my_vsnprintf.c
@@ -37,7 +37,6 @@ int my_snprintf(char* to, size_t n, const char* fmt, ...)
{
int result;
va_list args;
- int result;
va_start(args,fmt);
result= my_vsnprintf(to, n, fmt, args);
va_end(args);