mirror of
https://github.com/sqlite/sqlite.git
synced 2025-07-30 19:03:16 +03:00
Fix a harmless compiler warning in the CLI.
FossilOrigin-Name: 27ef1909bb0c4d9470c6074b40500632c68341127a079a3eb3b6a19dbfb2aeac
This commit is contained in:
@ -12732,7 +12732,11 @@ int SQLITE_CDECL wmain(int argc, wchar_t **wargv){
|
||||
sqlite3_fprintf(stderr,
|
||||
"attach debugger to process %d and press ENTER to continue...",
|
||||
GETPID());
|
||||
sqlite3_fgets(zLine, sizeof(zLine), stdin);
|
||||
if( sqlite3_fgets(zLine, sizeof(zLine), stdin)!=0
|
||||
&& cli_strcmp(zLine,"stop")==0
|
||||
){
|
||||
exit(1);
|
||||
}
|
||||
}else{
|
||||
#if defined(_WIN32) || defined(WIN32)
|
||||
#if SQLITE_OS_WINRT
|
||||
|
Reference in New Issue
Block a user