Fixed warning.
This commit is contained in:
parent
0bba2794fc
commit
6057891e93
@ -80,7 +80,7 @@ vmime::utility::file* posixFileIterator::nextElement()
|
|||||||
|
|
||||||
void posixFileIterator::getNextElement()
|
void posixFileIterator::getNextElement()
|
||||||
{
|
{
|
||||||
while (m_dirEntry = ::readdir(m_dir))
|
while ((m_dirEntry = ::readdir(m_dir)) != NULL)
|
||||||
{
|
{
|
||||||
const char* name = m_dirEntry->d_name;
|
const char* name = m_dirEntry->d_name;
|
||||||
const int len = ::strlen(name);
|
const int len = ::strlen(name);
|
||||||
|
Loading…
Reference in New Issue
Block a user