mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
Fix some compiler warnings in LCC. The warnings did not indicate real
problems. Ticket #634. Not all warnings in ticket #634 were fixed. (CVS 1276) FossilOrigin-Name: e97089b7df3e2fbfcf36062099d02ecb75e9a870
This commit is contained in:
2
src/os.c
2
src/os.c
@@ -1214,7 +1214,7 @@ int sqliteOsFileSize(OsFile *id, off_t *pSize){
|
||||
** the LockFileEx() API.
|
||||
*/
|
||||
int isNT(void){
|
||||
static osType = 0; /* 0=unknown 1=win95 2=winNT */
|
||||
static int osType = 0; /* 0=unknown 1=win95 2=winNT */
|
||||
if( osType==0 ){
|
||||
OSVERSIONINFO sInfo;
|
||||
sInfo.dwOSVersionInfoSize = sizeof(sInfo);
|
||||
|
Reference in New Issue
Block a user