[Pkg-owncloud-commits] [owncloud-client] 105/219: Fix compilation
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:15 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 9b1779bb06bc3cc3e95999757cd74dcd1899f415
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Mon Sep 15 18:03:44 2014 +0200
Fix compilation
qFatal does not work with <<
---
src/mirall/syncjournaldb.cpp | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/src/mirall/syncjournaldb.cpp b/src/mirall/syncjournaldb.cpp
index ac0a4e7..1f3be53 100644
--- a/src/mirall/syncjournaldb.cpp
+++ b/src/mirall/syncjournaldb.cpp
@@ -80,13 +80,8 @@ void SyncJournalDb::commitTransaction()
bool SyncJournalDb::sqlFail( const QString& log, const QSqlQuery& query )
{
commitTransaction();
-#ifdef NDEBUG
- qWarning()
-#else
- qFatal()
-#endif
- << "SQL Error" << log << query.lastError().text();
-
+ qWarning() << "SQL Error" << log << query.lastError().text();
+ Q_ASSERT(!"SQL ERROR");
_db.close();
return false;
}
--
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