From 5c8fe022b68364456cf2d1aea0699d2f3712a642 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Fri, 1 Sep 2017 09:32:20 +0200 Subject: [PATCH] Fixed compil by commenting out unused variable --- src/chat/is-composing.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/chat/is-composing.cpp b/src/chat/is-composing.cpp index 02515652e..18e9e0873 100644 --- a/src/chat/is-composing.cpp +++ b/src/chat/is-composing.cpp @@ -217,10 +217,10 @@ void IsComposing::parse (xmlparsing_context_t *xmlCtx) { if (stateStr) { if (strcmp(stateStr, "active") == 0) { - int refreshDuration = getRefreshTimerDuration(); + //int refreshDuration = getRefreshTimerDuration(); state = true; - if (refreshStr) - refreshDuration = atoi(refreshStr); + //if (refreshStr) + // refreshDuration = atoi(refreshStr); startRemoteRefreshTimer(); } else { stopRemoteRefreshTimer();