mariadb/tests
Daniel Black 3b29315fde mysql_client_test: test_bug40365 gcc-11.2.1 indentation complaint
Observed in 10.4 however same code in 10.2

mariadb-server-10.4/tests/mysql_client_test.c:18209:5: error: this ‘if’ clause does not guard... [-Werror=misleading-indentation]
18209 |     if (!opt_silent)
      |     ^~
In file included from mariadb-server-10.4/tests/mysql_client_test.c:38:
mariadb-server-10.4/tests/mysql_client_fw.c:133:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’
  133 |         ((void) ((expr) ? 0 : (die(__FILE__, __LINE__, #expr), 0)))
      |         ^
mariadb-server-10.4/tests/mysql_client_test.c:18212:7: note: in expansion of macro ‘DIE_UNLESS’
18212 |       DIE_UNLESS(tm[i].year == 0);
      |       ^~~~~~~~~~

$ /usr/bin/cc --version
cc (GCC) 11.2.1 20210728 (Red Hat 11.2.1-1)
2021-08-15 09:00:08 +10:00
..
async_queries.c Merge branch '5.5' into 10.0 2016-09-27 09:21:19 +02:00
auto_increment.res
auto_increment.tst
big_record.pl mtr: use env for perl 2020-06-23 03:24:46 +02:00
bug25714.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
check_async_queries.pl MWL#192: Non-blocking client API for libmysqlclient. 2011-09-20 12:49:25 +02:00
CMakeLists.txt Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
connect_test.c Update FSF Address 2019-05-11 21:29:06 +03:00
consistent_snapshot.pl MWL#116: Efficient group commit: PBXT part 2010-10-15 15:42:06 +02:00
deadlock_test.c Update FSF Address 2019-05-11 21:29:06 +03:00
drop_test.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
export.pl mtr: use env for perl 2020-06-23 03:24:46 +02:00
fork2_test.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
fork_big.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
fork_big2.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
function.res
function.tst
grant.res
index_corrupt.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
insert_and_repair.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
insert_test.c Update FSF Address 2019-05-11 21:29:06 +03:00
list_test.c Update FSF Address 2019-05-11 21:29:06 +03:00
lock_test.pl mtr: use env for perl 2020-06-23 03:24:46 +02:00
lock_test.res
mail_to_db.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
myisam-big-rows.tst A follow-up on WL#5154 and WL#5182: remove forgotten options. 2010-03-03 22:22:02 +03:00
mysql_client_fw.c Merge 10.1 into 10.2 2019-05-13 17:54:04 +03:00
mysql_client_test.c mysql_client_test: test_bug40365 gcc-11.2.1 indentation complaint 2021-08-15 09:00:08 +10:00
nonblock-wrappers.h After-review changes 2016-09-12 17:51:50 +02:00
pmail.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
rename_test.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
restore-lock.smack
select_test.c Update FSF Address 2019-05-11 21:29:06 +03:00
showdb_test.c Update FSF Address 2019-05-11 21:29:06 +03:00
ssl_test.c Update FSF Address 2019-05-11 21:29:06 +03:00
table_types.pl mtr: use env for perl 2020-06-23 03:24:46 +02:00
test_delayed_insert.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00
thread_test.c Merge branch '5.5' into 10.1 2019-05-11 22:19:05 +03:00
truncate.pl MDEV-23697: perl -w -> perl 2020-09-24 08:09:56 +10:00