Hotfix/sangshuduo/td 6166 pointer not init (#7427)

* [TD-6166]<fix>: pointer not initialized led taos.exe exit on windows.

* another line.
This commit is contained in:
Shuduo Sang 2021-08-17 19:24:37 +08:00 committed by GitHub
parent 0c7cf3a918
commit 5e15ac45fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -196,7 +196,7 @@ not_compact_enough:
/* Normally defined in stdlib.h. Output buf must contain PATH_MAX bytes */
char *realpath(const char *path, char *outbuf) {
char *pOutbuf = outbuf;
char *pOutbuf1;
char *pOutbuf1 = NULL;
int iErr;
const char *pc;