From: Coverity Build Date: Thu, 3 Dec 2015 10:16:02 +0000 (-0800) Subject: CID 1341527: Quiet a CHECKED_RETURN in sntp/tests/t-log.c. HStenn. X-Git-Tag: NTP_4_3_86~3^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9bc5c2682ce60a76c6ad1b891475a062dbbe430;p=thirdparty%2Fntp.git CID 1341527: Quiet a CHECKED_RETURN in sntp/tests/t-log.c. HStenn. bk: 56601662YirjhF_fh67pyRTUQlyfLQ --- diff --git a/ChangeLog b/ChangeLog index 8cbc02f03..fcfc5f656 100644 --- 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. diff --git a/sntp/tests/t-log.c b/sntp/tests/t-log.c index 7f8fadbe0..08d4b6c59 100644 --- a/sntp/tests/t-log.c +++ b/sntp/tests/t-log.c @@ -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