Directory: eliminate attribute "have_stat"

Check for 0 in "device" and "inode" instead.
This commit is contained in:
Max Kellermann
2014-06-16 19:37:33 +02:00
parent b2433a664c
commit fefb35c782
3 changed files with 3 additions and 4 deletions

View File

@@ -95,7 +95,6 @@ struct Directory {
Directory *parent;
time_t mtime;
unsigned inode, device;
bool have_stat; /* not needed if ino_t == dev_t == 0 is impossible */
std::string path;