]> git.ipfire.org Git - thirdparty/ntp.git/commitdiff
CID 1341527: Quiet a CHECKED_RETURN in sntp/tests/t-log.c. HStenn.
authorCoverity Build <stenn@ntp.org>
Thu, 3 Dec 2015 10:16:02 +0000 (02:16 -0800)
committerCoverity Build <stenn@ntp.org>
Thu, 3 Dec 2015 10:16:02 +0000 (02:16 -0800)
bk: 56601662YirjhF_fh67pyRTUQlyfLQ

ChangeLog
sntp/tests/t-log.c

index 8cbc02f039b270d06425c865b796f610e0251b2c..fcfc5f6569dab5a462cf1cbbe2374f3fa098856f 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -3,6 +3,7 @@
 * [Sec 2956] small-step/big-step.  Close the panic gate earlier.  HStenn.
 * CID 1339955: Free allocated memory in caljulian test.  HStenn.
 * CID 1339962: Explicitly initialize variable in caljulian test.  HStenn.
+* CID 1341527: Quiet a CHECKED_RETURN in sntp/tests/t-log.c.  HStenn.
 * CID 1341533: Missing assertion in sntp/tests/t-log.c.  HStenn.
 * CID 1341534: Resource leak in tests/ntpd/t-ntp_signd.c.  HStenn.
 * CID 1341535: Resource leak in tests/ntpd/t-ntp_signd.c.  HStenn.
index 7f8fadbe0ddec373f9fee722af08c99fece9f7d5..08d4b6c59b2f525e2da71a0cbf3fada9b119d4a6 100644 (file)
@@ -53,7 +53,7 @@ testWriteInCustomLogfile(void)
        char testString[256] = "12345 ABC";
        char testName[256] = "TEST_PROGNAME3";
 
-       remove("testLogfile2.log");
+       (void)remove("testLogfile2.log");
 
        sntp_init_logging(testName);
        open_logfile("testLogfile2.log"); // ./ causing issues