Skip to content

Commit b664617

Browse files
committed
fix a compilation warning.
1 parent 0ebb391 commit b664617

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tsessionfilestore.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ bool TSessionFileStore::remove(const QByteArray &id)
6464

6565
int TSessionFileStore::gc(const QDateTime &expire)
6666
{
67-
bool res = 0;
67+
int res = 0;
6868
QDir dir(sessionDirPath());
6969
if (dir.exists()) {
7070
QList<QFileInfo> lst = dir.entryInfoList(QDir::Files, QDir::Time | QDir::Reversed);

0 commit comments

Comments
 (0)