summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2015-10-08 10:06:17 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2015-10-19 14:25:36 +0200
commit8dd21e58209bdbe682b54c93aa20c41a46c2dc09 (patch)
treedba7b816c6bee9b8f838ca408656bc42e30a10ae
parente97a9f6642351c404b37190f8cbd0af3ee83127c (diff)
downloadspice-8dd21e58209bdbe682b54c93aa20c41a46c2dc09.tar.gz
spice-8dd21e58209bdbe682b54c93aa20c41a46c2dc09.tar.xz
spice-8dd21e58209bdbe682b54c93aa20c41a46c2dc09.zip
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