mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
compil Fix.
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@21901 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
22ae25d8da
commit
24061d79bc
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user