diff --git a/sql/sql_class.cc b/sql/sql_class.cc index a481b365182..5cec1ba7a81 100644 --- a/sql/sql_class.cc +++ b/sql/sql_class.cc @@ -426,7 +426,7 @@ void THD::close_active_vio() vio_close(active_vio); active_vio = 0; } - DBUG_RETURN; + DBUG_VOID_RETURN; } #endif