compil Fix.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21901 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Abdelrazak Younes 2007-12-02 07:52:28 +00:00
parent 22ae25d8da
commit 24061d79bc

View File

@ -136,10 +136,6 @@ unsigned long sum(char const * file)
{
//LYXERR(Debug::FILES, "lyx::sum() using istream_iterator (slow as a snail)");
// a directory may be passed here so we need to test it. (bug 3622)
if (file.isDirectory())
return 0;
ifstream ifs(file, std::ios_base::in | std::ios_base::binary);
if (!ifs)
return 0;