[Pkg-owncloud-commits] [owncloud-client] 147/211: ownsql: fix warning with clang
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:39 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 80e86d6c1b11c4a2d4de68c8119a1bcd0f0bb74f
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Tue Oct 21 14:59:42 2014 +0200
ownsql: fix warning with clang
warning: equality comparison with extraneous parentheses [-Wparentheses-equality]
---
src/mirall/ownsql.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/mirall/ownsql.cpp b/src/mirall/ownsql.cpp
index c87fb05..5dac0a5 100644
--- a/src/mirall/ownsql.cpp
+++ b/src/mirall/ownsql.cpp
@@ -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++;
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list