summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Whyte <donaldwhyte0@gmail.com>2016-10-25 09:25:24 +0100
committerGitHub <noreply@github.com>2016-10-25 09:25:24 +0100
commit41b07dab5ed4c5d5679ba4b8a0fb68503c127dda (patch)
tree970aacac45e7f3438f12f9f57cea8b94ac16b140
parent5f98e1d35dcf00a026793ada2662f6e1ba77eb17 (diff)
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.
-rw-r--r--hiredis.h2
1 files changed, 1 insertions, 1 deletions
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 */