From: Victor Julien Date: Fri, 20 Oct 2017 07:17:30 +0000 (+0200) Subject: redis: suppress minor coverity warning X-Git-Tag: suricata-4.0.2~33 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=97cb5d39731850c972caaac5a9b7872a6840b985;p=thirdparty%2Fsuricata.git redis: suppress minor coverity warning --- diff --git a/src/util-log-redis.c b/src/util-log-redis.c index 7c53ba86af..b6ff2b6717 100644 --- a/src/util-log-redis.c +++ b/src/util-log-redis.c @@ -455,7 +455,7 @@ int SCConfLogOpenRedis(ConfNode *redis_node, void *lf_ctx) redis_port = ConfNodeLookupChildValue(redis_node, "port"); redis_mode = ConfNodeLookupChildValue(redis_node, "mode"); - ConfGetChildValueBool(redis_node, "async", &is_async); + (void)ConfGetChildValueBool(redis_node, "async", &is_async); } if (!log_ctx->redis_setup.server) { log_ctx->redis_setup.server = redis_default_server;