From d0e489b5c2e8115a5a30c37a3629fbcdac95fec2 Mon Sep 17 00:00:00 2001 From: Henri DF Date: Tue, 12 Apr 2016 18:29:48 -0700 Subject: [PATCH] Remove unneccessary HAS_FILTERING conditional --- userspace/digwatch/digwatch.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/userspace/digwatch/digwatch.cpp b/userspace/digwatch/digwatch.cpp index 0a963106..c9a98b45 100644 --- a/userspace/digwatch/digwatch.cpp +++ b/userspace/digwatch/digwatch.cpp @@ -261,7 +261,6 @@ int digwatch_init(int argc, char **argv) if(optind < argc) { -#ifdef HAS_FILTERING for(int32_t j = optind ; j < argc; j++) { rules_file += argv[j]; @@ -271,11 +270,6 @@ int digwatch_init(int argc, char **argv) } } -#else - fprintf(stderr, "filtering not compiled.\n"); - result = EXIT_FAILURE; - goto exit; -#endif } if(rules_file.size() == 0) {