diff --git a/source/util/src/tgeosctx.c b/source/util/src/tgeosctx.c index 65c3da2d44..2cef6c0d9f 100644 --- a/source/util/src/tgeosctx.c +++ b/source/util/src/tgeosctx.c @@ -86,6 +86,6 @@ _exit: } const char *getGeosErrMsg(int32_t code) { - SGeosContext *tlGeosCtx = taosThreadGetSpecific(tlGeosCtxKey) + SGeosContext *tlGeosCtx = taosThreadGetSpecific(tlGeosCtxKey); return (tlGeosCtx && tlGeosCtx->errMsg[0] != 0) ? tlGeosCtx->errMsg : (code ? tstrerror(code) : ""); }