selinux/mcstrans
Nicolas Iooss e293718f0e mcstrans: silence -Wextra-semi-stmt warning
On Ubuntu 20.04, when building with clang -Werror -Wextra-semi-stmt
(which is not the default build configuration), the compiler reports:

      mcstransd.c:72:35: error: empty expression statement has no effect;
      remove unnecessary ';' to silence this warning
      [-Werror,-Wextra-semi-stmt]
              log_debug("%s\n", "cleanup_exit");
                                               ^

Replace the empty log_debug substitution with a do { ... } while (0)
construction to silence this warning.

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
2021-07-06 11:08:11 -04:00
..
man mcstrans: Add reference to setools.conf man page in the daemon one 2019-07-18 09:51:43 -05:00
share Fix many misspellings 2019-09-18 22:47:35 +02:00
src mcstrans: silence -Wextra-semi-stmt warning 2021-07-06 11:08:11 -04:00
utils tree-wide: replace last occurrences of security_context_t 2020-03-25 09:54:21 -05:00
COPYING Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
Makefile Add stub make test targets to new subdirs 2016-11-16 11:20:05 -05:00
TODO Move policycoreutils/mcstrans to mcstrans. 2016-11-16 11:19:50 -05:00
VERSION Update VERSIONs to 3.2 for release. 2021-03-04 16:42:59 +01:00