summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-10-08 10:06:17 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-12-11 18:39:49 +0100
commit5228cd2a31773482beead4d07f9538dac3913f0d (patch)
treea33a30c907b9953b4539dc4e3a900a17110ce03b
parent0ef10ddfdaffcb362a22009cacac8d672aaade23 (diff)
syntax-check: Exclude red_replay_qxl.c from sc_cast_of_argument_to_free
red_replay_qxl.c stores some pointers QXLPHYSICAL data members (ie uint64_t), and then needs to free them, so the cast is required.
-rw-r--r--cfg.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/cfg.mk b/cfg.mk
index 7cf1d58c..c9353273 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -150,3 +150,5 @@ exclude_file_name_regexp--sc_trailing_blank = ^common/win/my_getopt-1.5/getopt.3
exclude_file_name_regexp--sc_unmarked_diagnostics = ^.*\.(c|py|h)
exclude_file_name_regexp--sc_prohibit_path_max_allocation = server/tests/test_display_base.c
+
+exclude_file_name_regexp--sc_cast_of_argument_to_free = server/red_replay_qxl.c