From 38b5ea0487f5ce63ad38238c3f0f2ba62e275746 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 3 May 2004 23:35:11 +0200 Subject: [PATCH] trying to remove Windows compiler warnings (Miguel, could you please check if it's better now?) innobase/eval/eval0eval.c: explicit cast sql/ha_innodb.cc: removed unused variable --- innobase/eval/eval0eval.c | 2 +- sql/ha_innodb.cc | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/innobase/eval/eval0eval.c b/innobase/eval/eval0eval.c index 053a10b3c23..a3cd60b86ae 100644 --- a/innobase/eval/eval0eval.c +++ b/innobase/eval/eval0eval.c @@ -725,7 +725,7 @@ eval_predefined( uint_val = (ulint) int_val; } for (tmp = int_len; uint_val > 0; uint_val /= 10) { - data[--tmp] = '0' + (uint_val % 10); + data[--tmp] = '0' + (byte)(uint_val % 10); } } diff --git a/sql/ha_innodb.cc b/sql/ha_innodb.cc index 4192df22e5c..872a6abef8b 100644 --- a/sql/ha_innodb.cc +++ b/sql/ha_innodb.cc @@ -4780,7 +4780,6 @@ innodb_show_status( /*===============*/ THD* thd) /* in: the MySQL query thread of the caller */ { - char* buf; Protocol *protocol= thd->protocol; trx_t* trx;