don't crash in LibraryLocal if the file cannot be found

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6337 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2013-04-11 09:02:04 +00:00
parent 30d337eac1
commit c9a132db3e

View file

@ -106,7 +106,8 @@ int _tmain(int argc, TCHAR* argv[])
FILE*fIn = FOPEN(filename.c_str(), ("rb"));
filefound = !!fIn;
fclose(fIn);
if (fIn)
fclose(fIn);
// Work