Exclude %V from coverage since we removed it from the test suite.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 1 Aug 2017 23:55:34 +0000 (19:55 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 1 Aug 2017 23:55:34 +0000 (19:55 -0400)
misc.c

diff --git a/misc.c b/misc.c
index 25808a2c4353ff5a76f301603392e21a7f802f3d..ba2e2afffc0c637f8ec37aa2fef701035ec82cad 100644 (file)
--- a/misc.c
+++ b/misc.c
@@ -93,6 +93,7 @@ static void vspeak(const char* msg, bool blank, va_list ap)
                 }
             }
 
+            // LCOV_EXCL_START - doesn't occur in test suite.
             /* Version specifier */
             if (msg[i] == 'V') {
                 strcpy(renderp, VERSION);
@@ -100,6 +101,7 @@ static void vspeak(const char* msg, bool blank, va_list ap)
                 renderp += len;
                 size -= len;
             }
+            // LCOV_EXCL_STOP
         }
     }
     *renderp = 0;