summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2020-05-22 00:17:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2020-05-22 00:17:33 +0200
commit59be3db0431c14135b4e8e33d6b262fd163147b9 (patch)
tree0714454bc5a5110e445878ec22819663962ab334
parentf13f796dd4706b9a1a0531120fc2c2abac9a2a4a (diff)
downloadcurl-59be3db0431c14135b4e8e33d6b262fd163147b9.tar.gz
fixup missed the actual (void)bagder/failf-snprintf-return
-rw-r--r--lib/sendf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sendf.c b/lib/sendf.c
index 6ad32e1b3..147ecbfa5 100644
--- a/lib/sendf.c
+++ b/lib/sendf.c
@@ -267,7 +267,7 @@ void Curl_failf(struct Curl_easy *data, const char *fmt, ...)
size_t len;
char error[CURL_ERROR_SIZE + 2];
va_start(ap, fmt);
- mvsnprintf(error, CURL_ERROR_SIZE, fmt, ap);
+ (void)mvsnprintf(error, CURL_ERROR_SIZE, fmt, ap);
len = strlen(error);
if(data->set.errorbuffer && !data->state.errorbuf) {