summaryrefslogtreecommitdiff
path: root/storage/innobase/eval
diff options
context:
space:
mode:
authorVasil Dimov <vasil.dimov@oracle.com>2010-09-14 12:06:47 +0300
committerVasil Dimov <vasil.dimov@oracle.com>2010-09-14 12:06:47 +0300
commitf0634f15ae5db95adeff318e8eddda02d38c0ee2 (patch)
tree4499e58c5c7d226667059f8a1d42d3ce731175f2 /storage/innobase/eval
parent87d4bae87e71bd745ba1caaf8a4003f55459cff4 (diff)
downloadmariadb-git-f0634f15ae5db95adeff318e8eddda02d38c0ee2.tar.gz
(partially) Fix Bug#55227 Fix compiler warnings in innodb with gcc 4.6
Fix compiler warning: eval/eval0eval.c: In function 'eval_notfound': eval/eval0eval.c:371:14: error: variable 'arg2' set but not used [-Werror=unused-but-set-variable]
Diffstat (limited to 'storage/innobase/eval')
-rw-r--r--storage/innobase/eval/eval0eval.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/storage/innobase/eval/eval0eval.c b/storage/innobase/eval/eval0eval.c
index cbc47ec508f..fb4e72a511f 100644
--- a/storage/innobase/eval/eval0eval.c
+++ b/storage/innobase/eval/eval0eval.c
@@ -368,13 +368,11 @@ eval_notfound(
func_node_t* func_node) /* in: function node */
{
que_node_t* arg1;
- que_node_t* arg2;
sym_node_t* cursor;
sel_node_t* sel_node;
ibool ibool_val;
arg1 = func_node->args;
- arg2 = que_node_get_next(arg1);
ut_ad(func_node->func == PARS_NOTFOUND_TOKEN);