From: Pierre Ossman Date: Tue, 8 Nov 2011 10:31:04 +0000 (+0000) Subject: The dummy timer isn't used anymore. X-Git-Tag: v1.1.90~42 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=bfd47f17db65d188b03d932ffba20b298bf6bad7;p=tigervnc.git The dummy timer isn't used anymore. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@4779 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/unix/xserver/hw/vnc/XserverDesktop.cc b/unix/xserver/hw/vnc/XserverDesktop.cc index 8f50cf9d..60254aec 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.cc +++ b/unix/xserver/hw/vnc/XserverDesktop.cc @@ -145,7 +145,7 @@ XserverDesktop::XserverDesktop(ScreenPtr pScreen_, network::TcpListener* httpListener_, const char* name, const rfb::PixelFormat &pf, void* fbptr, int stride) - : pScreen(pScreen_), deferredUpdateTimer(0), dummyTimer(0), + : pScreen(pScreen_), deferredUpdateTimer(0), server(0), httpServer(0), listener(listener_), httpListener(httpListener_), cmap(0), deferredUpdateTimerSet(false), @@ -172,7 +172,6 @@ XserverDesktop::~XserverDesktop() if (!directFbptr) delete [] data; TimerFree(deferredUpdateTimer); - TimerFree(dummyTimer); delete inputDevice; delete httpServer; delete server; diff --git a/unix/xserver/hw/vnc/XserverDesktop.h b/unix/xserver/hw/vnc/XserverDesktop.h index fd0773ca..4a1705ea 100644 --- a/unix/xserver/hw/vnc/XserverDesktop.h +++ b/unix/xserver/hw/vnc/XserverDesktop.h @@ -126,7 +126,7 @@ private: void deferUpdate(); ScreenPtr pScreen; InputDevice *inputDevice; - OsTimerPtr deferredUpdateTimer, dummyTimer; + OsTimerPtr deferredUpdateTimer; rfb::VNCServerST* server; rfb::HTTPServer* httpServer; network::TcpListener* listener;