1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Fix some compiler warnings in lsm_file.c.

FossilOrigin-Name: 23f16382ed47a90bf5e6c1684d54d28484dca46fea20ca0f131bd477cf222bfb
This commit is contained in:
dan
2017-06-26 06:53:24 +00:00
parent b74013300c
commit 07cae6ae74
3 changed files with 10 additions and 10 deletions

View File

@ -316,7 +316,7 @@ struct MetaPage {
** to catch IO errors (any error returned by a VFS method).
*/
#ifndef NDEBUG
static void lsmIoerrBkpt(){
static void lsmIoerrBkpt(void){
static int nErr = 0;
nErr++;
}
@ -447,7 +447,7 @@ int lsmEnvShmMap(
}
void lsmEnvShmBarrier(lsm_env *pEnv){
return pEnv->xShmBarrier();
pEnv->xShmBarrier();
}
void lsmEnvShmUnmap(lsm_env *pEnv, lsm_file *pFile, int bDel){