From fb90358e1796915fa63b671c7fb687cfc17bb53f Mon Sep 17 00:00:00 2001 From: Victor Julien Date: Tue, 23 Feb 2016 09:52:09 +0100 Subject: [PATCH] conf: explicitly ignore retval (CID 1353490) --- src/output-json.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output-json.c b/src/output-json.c index 9106ca2bee..89311bdd92 100644 --- a/src/output-json.c +++ b/src/output-json.c @@ -435,7 +435,7 @@ OutputCtx *OutputJsonInitCtx(ConfNode *conf) "Please set sensor-name globally."); } else { - ConfGet("sensor-name", (char **)&sensor_name); + (void)ConfGet("sensor-name", (char **)&sensor_name); } if (unlikely(json_ctx == NULL)) {