Add a coverage exclusion.
authorEric S. Raymond <esr@thyrsus.com>
Thu, 7 Apr 2022 02:27:14 +0000 (22:27 -0400)
committerEric S. Raymond <esr@thyrsus.com>
Thu, 7 Apr 2022 02:27:14 +0000 (22:27 -0400)
cheat.c

diff --git a/cheat.c b/cheat.c
index d25e218fdf9a70b153b16cf836e8758037683105..7d9474a22b7ffed6d2c64a6f08c974fda1b8fa7f 100644 (file)
--- a/cheat.c
+++ b/cheat.c
@@ -98,13 +98,18 @@ int main(int argc, char *argv[])
     return EXIT_SUCCESS;
 }
 
+// LCOV_EXCL_START
 /* 
  * Ugh...unused, but required for linkage.
- * See thje actually useful version of this in main.c
+ * See the actually useful version of this in main.c
  */
 
 char *myreadline(const char *prompt)
 {
     return readline(prompt);
 }
+// LCOV_EXCL_STOP
+
+/* end */
+