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.
This commit is contained in:
Donald Whyte 2016-10-25 09:25:24 +01:00 committed by GitHub
parent 5f98e1d35d
commit 41b07dab5e

View File

@ -133,7 +133,7 @@ void redisFreeSdsCommand(sds cmd);
enum redisConnectionType { enum redisConnectionType {
REDIS_CONN_TCP, REDIS_CONN_TCP,
REDIS_CONN_UNIX, REDIS_CONN_UNIX
}; };
/* Context for a connection to Redis */ /* Context for a connection to Redis */