summaryrefslogtreecommitdiff
path: root/usage.c
diff options
context:
space:
mode:
Diffstat (limited to 'usage.c')
-rw-r--r--usage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usage.c b/usage.c
index 7f215a02..2db64767 100644
--- a/usage.c
+++ b/usage.c
@@ -265,7 +265,7 @@ void print_rsync_version(enum logcode f)
char verbuf[32];
json_line("program", RSYNC_NAME);
json_line("version", rsync_version());
- snprintf(verbuf, sizeof verbuf, "%d.%d", PROTOCOL_VERSION, SUBPROTOCOL_VERSION);
+ (void)snprintf(verbuf, sizeof verbuf, "%d.%d", PROTOCOL_VERSION, SUBPROTOCOL_VERSION);
json_line("protocol", verbuf);
json_line("copyright", copyright);
json_line("url", url);