Coverage repair.
authorEric S. Raymond <esr@thyrsus.com>
Mon, 31 Jul 2017 19:26:56 +0000 (15:26 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Mon, 31 Jul 2017 19:26:56 +0000 (15:26 -0400)
actions.c

index 375e6337b24385bb0ac9c311b705a7112f6aba52..1b9e999207378e3c7ad3082659c1eeed0719c1c9 100644 (file)
--- a/actions.c
+++ b/actions.c
@@ -1562,8 +1562,11 @@ int action(struct command_t command)
             speak(actions[command.verb].message);
             return GO_CLEAROBJ;
         }
+       // LCOV_EXCL_START
+       // This case should never happen - here only as placeholder
         case PART:
             return reservoir();
+       // LCOV_EXCL_STOP
         case SEED:
             return seed(command.verb, command.raw2);
         case WASTE: