diff --git a/src/sw/redis++/connection.cpp b/src/sw/redis++/connection.cpp index c7fd1cf..d433ffc 100644 --- a/src/sw/redis++/connection.cpp +++ b/src/sw/redis++/connection.cpp @@ -273,7 +273,6 @@ bool Connection::avail() { } else { // An error occurred throw_error(*ctx, strerror(errno)); - return -1; } }