Skip to content
Permalink
Browse files
MDEV-29613 fixup: clang -Wunused-but-set-variable
  • Loading branch information
dr-m committed Oct 11, 2022
1 parent 7434eb5 commit 2f1a432
Showing 1 changed file with 5 additions and 1 deletion.
@@ -2,7 +2,7 @@
Copyright (c) 1997, 2017, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2012, Facebook Inc.
Copyright (c) 2013, 2020, MariaDB Corporation.
Copyright (c) 2013, 2022, MariaDB Corporation.
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 the Free Software
@@ -2882,7 +2882,9 @@ bool recv_parse_log_recs(lsn_t checkpoint_lsn, store_t* store,
are included within the buffer */

ulint total_len = 0;
#ifdef DBUG_TRACE
ulint n_recs = 0;
#endif
bool only_mlog_file = true;
ulint mlog_rec_len = 0;

@@ -2935,7 +2937,9 @@ bool recv_parse_log_recs(lsn_t checkpoint_lsn, store_t* store,
}

total_len += len;
#ifdef DBUG_TRACE
n_recs++;
#endif

ptr += len;

0 comments on commit 2f1a432

Please sign in to comment.