diff --git a/query_classifier/query_classifier.cc b/query_classifier/query_classifier.cc index 7b2ec8b99..82cf85b71 100644 --- a/query_classifier/query_classifier.cc +++ b/query_classifier/query_classifier.cc @@ -764,7 +764,6 @@ static int is_autocommit_stmt( { String str(target, sizeof(target), system_charset_info); String* res = item->val_str(&str); - int rc; if ((rc = find_type(&bool_typelib, res->ptr(), res->length(), false))) {