Coverage exclusions for -d.
[open-adventure.git] / main.c
diff --git a/main.c b/main.c
index ab23ad99ed223646471fb1dcc021d4ac9f8a5da5..d4539b19f1dc4f87ad035e5c4ac5ebb4774e8c4c 100644 (file)
--- a/main.c
+++ b/main.c
@@ -1275,9 +1275,9 @@ int main(int argc, char *argv[])
 #endif
     while ((ch = getopt(argc, argv, opts)) != EOF) {
         switch (ch) {
-       case 'd':
-           settings.debug +=1;
-           break;
+       case 'd': // LCOV_EXCL_LINE
+           settings.debug +=1; // LCOV_EXCL_LINE
+           break; // LCOV_EXCL_LINE
         case 'l':
             settings.logfp = fopen(optarg, "w");
             if (settings.logfp == NULL)