summaryrefslogtreecommitdiff
path: root/lib/bbackupd/BackupDaemon.cpp
diff options
context:
space:
mode:
authorChris Wilson <chris+github@qwirx.com>2017-10-12 21:27:54 +0100
committerChris Wilson <chris+github@qwirx.com>2017-10-16 22:02:32 +0100
commita631c82882b039f8467a2ef9abeb343f2ec5b3da (patch)
treeb0ae4a2304e386aef4ef031b9d565116e0fa7f02 /lib/bbackupd/BackupDaemon.cpp
parentfea4efbf5648dddb63f51b4b076baceb872be87b (diff)
Fix -Wundefined-bool-conversion compile failure of master branch
Master build fails with: lib/common/Timer.cpp:171:10: error: reference cannot be bound to dereferenced null pointer in well-defined C++ code; pointer may be assumed to always convert to true [-Werror,-Wundefined-bool-conversion]. Cannot get regtests to pass on this feature branch without fixing this. Also remove unused code from Timers.
Diffstat (limited to 'lib/bbackupd/BackupDaemon.cpp')
-rw-r--r--lib/bbackupd/BackupDaemon.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/bbackupd/BackupDaemon.cpp b/lib/bbackupd/BackupDaemon.cpp
index 3427a722..996c1919 100644
--- a/lib/bbackupd/BackupDaemon.cpp
+++ b/lib/bbackupd/BackupDaemon.cpp
@@ -922,8 +922,6 @@ std::auto_ptr<BackupClientContext> BackupDaemon::GetNewContext
// it, let it be destroyed and close the connection.
std::auto_ptr<BackupClientContext> BackupDaemon::RunSyncNow()
{
- Timers::AssertInitialised();
-
// Delete the serialised store object file,
// so that we don't try to reload it after a
// partially completed backup