1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-09 22:24:09 +03:00

Cleanup: clang-10 -Wmisleading-indentation

Also, remove some trailing white space and add missing static
qualifier to free_annotate_event().
This commit is contained in:
Marko Mäkelä
2020-03-11 14:27:16 +02:00
parent be77fa914c
commit 3ab33c6c92

View File

@@ -1,6 +1,6 @@
/* /*
Copyright (c) 2000, 2014, Oracle and/or its affiliates. Copyright (c) 2000, 2014, Oracle and/or its affiliates.
Copyright (c) 2009, 2014, MariaDB Copyright (c) 2009, 2020, MariaDB
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
@@ -151,7 +151,7 @@ enum Exit_status {
*/ */
static Annotate_rows_log_event *annotate_event= NULL; static Annotate_rows_log_event *annotate_event= NULL;
void free_annotate_event() static void free_annotate_event()
{ {
if (annotate_event) if (annotate_event)
{ {
@@ -877,7 +877,7 @@ static bool print_row_event(PRINT_EVENT_INFO *print_event_info, Log_event *ev,
rbr-events were filtered away, the Annotate event was not rbr-events were filtered away, the Annotate event was not
freed and it is just the time to do it. freed and it is just the time to do it.
*/ */
free_annotate_event(); free_annotate_event();
/* /*
One needs to take into account an event that gets One needs to take into account an event that gets