ownsql: fix warning with clang

warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
This commit is contained in:
Olivier Goffart 2014-10-21 14:59:42 +02:00
parent dc13e39bb1
commit 80e86d6c1b

View file

@ -168,7 +168,7 @@ bool SqlQuery::exec()
rc = sqlite3_reset(_stmt); /* This will also return SQLITE_LOCKED */
n++;
Mirall::Utility::usleep(SQLITE_SLEEP_TIME_USEC);
} else if( (rc == SQLITE_BUSY) ) {
} else if( rc == SQLITE_BUSY ) {
Mirall::Utility::usleep(SQLITE_SLEEP_TIME_USEC);
n++;
}