From 2aadf445bc5e5dff78d60559dafd9c4c70b34c98 Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Fri, 5 Jul 2013 08:58:05 -0400 Subject: [PATCH] Code Cleanup - Removed unused timing from the sync command. --- src/commands/CmdSync.cpp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/src/commands/CmdSync.cpp b/src/commands/CmdSync.cpp index 3fb4c0c00..ba0ca3e14 100644 --- a/src/commands/CmdSync.cpp +++ b/src/commands/CmdSync.cpp @@ -53,9 +53,6 @@ int CmdSync::execute (std::string& output) { int status = 0; #ifdef HAVE_LIBGNUTLS - Timer timer_sync; - timer_sync.start (); - std::stringstream out; // Loog for the 'init' keyword to indicate one-time pending.data upload. @@ -263,17 +260,6 @@ int CmdSync::execute (std::string& output) out << "\n"; output = out.str (); -/* - timer_sync.stop (); - std::stringstream s; - s << "Sync " - << Date ().toISO () - << " sync:" - << timer_sync.total () - << "\n"; - debug (s.str ()); -*/ - #else // Without GnuTLS found at compile time, there is no working sync command. throw std::string (STRING_CMD_SYNC_NO_TLS);