summaryrefslogtreecommitdiff
path: root/strings/my_vsnprintf.c
diff options
context:
space:
mode:
authorunknown <monty@narttu.mysql.fi>2003-04-03 21:19:14 +0300
committerunknown <monty@narttu.mysql.fi>2003-04-03 21:19:14 +0300
commit0dbfff461472b3dd308713102b0abce3b5d4d0c4 (patch)
treeb27e4cc9b07c5b7c391798dccc4673d37d45e6dd /strings/my_vsnprintf.c
parentc9d2e7759a97c7f32cc28182a171b5ae84622d8f (diff)
downloadmariadb-git-0dbfff461472b3dd308713102b0abce3b5d4d0c4.tar.gz
Fixed bug in warning handling (Memory was allocated from wrong MEM_ROOT)
sql/item_sum.cc: Fixed bug in warning handling. sql/item_sum.h: Fixed bug in warning handling. sql/sql_class.h: Fixed bug in warning handling. sql/sql_error.cc: Fixed bug in warning handling. strings/my_vsnprintf.c: After merge fix
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);