forked from len0rd/rockbox
Simplify a debug output case and fix a gcc warning (as reported in FS#10124, only appears on new gcc versions).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@20725 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
64373a7a83
commit
b388200519
1 changed files with 5 additions and 4 deletions
|
|
@ -258,12 +258,13 @@ void HttpGet::getFileFinish()
|
|||
return;
|
||||
}
|
||||
else {
|
||||
if(cachefile.isReadable())
|
||||
qDebug() << "[HTTP] Cache: outdated, timestamp:" << cachefile.lastModified();
|
||||
qDebug() << "[HTTP] Cache: caching as" << m_cachefile;
|
||||
// unlink old cache file
|
||||
if(cachefile.isReadable())
|
||||
if(cachefile.isReadable()) {
|
||||
QFile(m_cachefile).remove();
|
||||
qDebug() << "[HTTP] Cache: outdated, timestamp:"
|
||||
<< cachefile.lastModified();
|
||||
}
|
||||
qDebug() << "[HTTP] Cache: caching as" << m_cachefile;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue