- fixed statements throwing unused-value warning
SKIPPED: psi/buffer.c
This commit is contained in:
@ -103,7 +103,7 @@ int InitServer(char *file, pServer * pServ)
|
||||
|
||||
/* configure fortify */
|
||||
iFortifyScope = Fortify_EnterScope();
|
||||
Fortify_CheckAllMemory();
|
||||
(void)Fortify_CheckAllMemory();
|
||||
|
||||
/* interpreter */
|
||||
self->pSics = InitInterp();
|
||||
@ -259,7 +259,7 @@ int InitServer(char *file, pServer * pServ)
|
||||
|
||||
/* exit handlers need to be installed here */
|
||||
atexit(StopExit);
|
||||
Fortify_CheckAllMemory();
|
||||
(void)Fortify_CheckAllMemory();
|
||||
return 1;
|
||||
|
||||
}
|
||||
@ -360,8 +360,8 @@ void StopServer(pServer self)
|
||||
LLDsystemClose();
|
||||
|
||||
/* make fortify print his findings */
|
||||
Fortify_DumpAllMemory(iFortifyScope);
|
||||
Fortify_LeaveScope();
|
||||
(void)Fortify_DumpAllMemory(iFortifyScope);
|
||||
(void)Fortify_LeaveScope();
|
||||
|
||||
free(self);
|
||||
|
||||
|
Reference in New Issue
Block a user