tests: Add some return value checking to pacify Coverity

No real problems here, but Coverity likes to see consistent checking of return
values, and I agree with it.

Coverity CID: 1452213
Coverity CID: 1452211

Closes: #1037
Approved by: jlebon
This commit is contained in:
Colin Walters authored and Atomic Bot committed 2017-08-02 15:34:16 +00:00
1 parent fbefe875c7
commit 36ab8cd0e1
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -94,7 +94,7 @@ httpd_log (OtTrivialHttpd *httpd, const gchar *format, ...)
g_string_append_vprintf (str, format, args);
va_end (args);
g_output_stream_write_all (httpd->log, str->str, str->len, &written, NULL, NULL);
(void)g_output_stream_write_all (httpd->log, str->str, str->len, &written, NULL, NULL);
}
static int