From d0da4fe1ac0ccc8bf3c73adaf66cf1577bad736a Mon Sep 17 00:00:00 2001 From: Attila Kovacs Date: Fri, 29 Nov 2024 23:24:28 +0100 Subject: [PATCH] Makefile tweak --- build.mk | 2 +- src/redisx-client.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build.mk b/build.mk index e7e2129..5e370d8 100644 --- a/build.mk +++ b/build.mk @@ -50,7 +50,7 @@ distclean: distclean-local # Static code analysis using 'cppcheck' .PHONY: analyze -check: +analyze: @echo " [analyze]" @cppcheck $(CPPFLAGS) $(CHECKOPTS) src diff --git a/src/redisx-client.c b/src/redisx-client.c index 55b24cf..52ae89a 100644 --- a/src/redisx-client.c +++ b/src/redisx-client.c @@ -808,7 +808,7 @@ RESP *redisxReadReplyAsync(RedisClient *cl) { int redisxResetClient(RedisClient *cl) { static const char *fn = "redisxResetClient"; - int status = X_SUCCESS; + int status; if(cl == NULL) return x_error(X_NULL, EINVAL, fn, "client is NULL");