From 4bcd7da0768e93876f365a18b62381608879ff91 Mon Sep 17 00:00:00 2001 From: Vladislav Vaintroub Date: Tue, 15 Jan 2019 16:44:13 +0100 Subject: [PATCH] fixup! Fixed compiler warnings from optimized builds --- sql/sql_lex.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sql/sql_lex.h b/sql/sql_lex.h index 49ff46c2bf9..c22f95978a0 100644 --- a/sql/sql_lex.h +++ b/sql/sql_lex.h @@ -3439,13 +3439,16 @@ public: { DBUG_ENTER("LEX::pop_context"); #ifndef DBUG_OFF - Name_resolution_context *context= context_stack.pop(); + Name_resolution_context *context= +#endif + context_stack.pop(); + DBUG_PRINT("info", ("Pop context %p Select: %p (%d)", context, context->select_lex, (context->select_lex ? context->select_lex->select_number: 0))); -#endif + DBUG_VOID_RETURN; }