mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-26 09:35:28 +00:00
silenced some warnings
This commit is contained in:
parent
649ae645f3
commit
d1e51ebf42
@ -188,8 +188,8 @@ public:
|
|||||||
std::size_t npos = i->first.rfind ('/');
|
std::size_t npos = i->first.rfind ('/');
|
||||||
|
|
||||||
fi.archive = this;
|
fi.archive = this;
|
||||||
fi.filename = npos != -1 ? i->first.substr (npos) : i->first;
|
fi.filename = npos != std::string::npos ? i->first.substr (npos) : i->first;
|
||||||
fi.path = npos != -1 ? i->first.substr (0, npos) : "";
|
fi.path = npos != std::string::npos ? i->first.substr (0, npos) : "";
|
||||||
fi.compressedSize = fi.uncompressedSize = 0;
|
fi.compressedSize = fi.uncompressedSize = 0;
|
||||||
|
|
||||||
ptr->push_back(fi);
|
ptr->push_back(fi);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user