diff options
author | Donald Whyte <donaldwhyte0@gmail.com> | 2016-10-25 09:25:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-10-25 09:25:24 +0100 |
commit | 41b07dab5ed4c5d5679ba4b8a0fb68503c127dda (patch) | |
tree | 970aacac45e7f3438f12f9f57cea8b94ac16b140 | |
parent | 5f98e1d35dcf00a026793ada2662f6e1ba77eb17 (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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 */ |