From 41b07dab5ed4c5d5679ba4b8a0fb68503c127dda Mon Sep 17 00:00:00 2001 From: Donald Whyte Date: Tue, 25 Oct 2016 09:25:24 +0100 Subject: [PATCH] Remove trailing comma in redisConnectionType enum Remove trailing comma in last value of `redisConnectionType` enum. This causes a compiler warning on Solaris compilers. I'd like to build this on Solaris with `-Werror`. However, due to the trailing comma, I cannot do that. This PR removes the trailing comma, which should prevent it causing compiler warnings on any architecture. --- hiredis.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hiredis.h b/hiredis.h index d2a6e90..423d5e5 100644 --- a/hiredis.h +++ b/hiredis.h @@ -133,7 +133,7 @@ void redisFreeSdsCommand(sds cmd); enum redisConnectionType { REDIS_CONN_TCP, - REDIS_CONN_UNIX, + REDIS_CONN_UNIX }; /* Context for a connection to Redis */