fixed linuxbuild

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%401805
This commit is contained in:
David Anderson 2007-12-17 00:54:10 +00:00
parent 6ba2593738
commit b1451f692c

View File

@ -756,7 +756,6 @@ static cell_t sm_WriteFile(IPluginContext *pContext, const cell_t *params)
HandleError herr; HandleError herr;
HandleSecurity sec(pContext->GetIdentity(), g_pCoreIdent); HandleSecurity sec(pContext->GetIdentity(), g_pCoreIdent);
FILE *pFile; FILE *pFile;
size_t read = 0;
if ((herr=g_HandleSys.ReadHandle(hndl, g_FileType, &sec, (void **)&pFile)) if ((herr=g_HandleSys.ReadHandle(hndl, g_FileType, &sec, (void **)&pFile))
!= HandleError_None) != HandleError_None)