aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-02-18 00:03:42 -0800
committerGuy Harris <guy@alum.mit.edu>2015-02-18 08:04:32 +0000
commit7263af87c6b0019c1bfda0f66fdc991330941892 (patch)
tree66646302e65cdb2ab6e43274d292436e12ec4ba9 /wiretap
parent9707ff85cee9e0797ac9068d3560554277359bbc (diff)
Eliminate some DIRTY_ file lists.
We don't want to encourage people to add to those lists, we want to encourage people to subtract *from* those lists (either by fixing warnings or, if an infelicitous API, or an infelicitous declaration of an API on some platforms, or a program generator that doesn't take sufficient care to avoid warnings - I'm looking at *you*, Flex - makes it impossible to fix without introducing other problems, using the DIAG_OFF()/DIAG_ON() macros if possible). Eliminate the empty lists, to make it harder to fill them up again. Change-Id: I298d07952c0cb1842a4ea71ba7e07c68e94a04e9 Reviewed-on: https://code.wireshark.org/review/7229 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'wiretap')
-rw-r--r--wiretap/CMakeLists.txt12
1 files changed, 2 insertions, 10 deletions
diff --git a/wiretap/CMakeLists.txt b/wiretap/CMakeLists.txt
index 52b3738320..b04e0d567c 100644
--- a/wiretap/CMakeLists.txt
+++ b/wiretap/CMakeLists.txt
@@ -21,7 +21,7 @@
include(UseABICheck)
-set(CLEAN_FILES
+set(WIRETAP_FILES
5views.c
aethra.c
ascendtext.c
@@ -80,17 +80,9 @@ set(CLEAN_FILES
wtap.c
)
-set(DIRTY_FILES
-)
-
-set(WIRETAP_FILES
- ${CLEAN_FILES}
- ${DIRTY_FILES}
-)
-
if (WERROR)
set_source_files_properties(
- ${CLEAN_FILES}
+ ${WIRETAP_FILES}
PROPERTIES
COMPILE_FLAGS -Werror
)