diff --git a/src/util/src/tutil.c b/src/util/src/tutil.c index 12932f055340b1120e7d2b0ba487378b0a08b942..cdd017fb564d1f11703b4608cfb85c0865f060c6 100644 --- a/src/util/src/tutil.c +++ b/src/util/src/tutil.c @@ -503,7 +503,6 @@ int taosCheckVersion(char *input_client_version, char *input_server_version, int if (!taosGetVersionNumber(server_version, serverVersionNumber)) { pError("invalid server version:%s", server_version); return TSDB_CODE_INVALID_CLIENT_VERSION; - return NULL; } for(int32_t i = 0; i < comparedSegments; ++i) {