From bfd47f17db65d188b03d932ffba20b298bf6bad7 Mon Sep 17 00:00:00 2001 From: Pierre Ossman Date: Tue, 8 Nov 2011 10:31:04 +0000 Subject: 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 --- unix/xserver/hw/vnc/XserverDesktop.cc | 3 +-- unix/xserver/hw/vnc/XserverDesktop.h | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'unix') 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; -- cgit v1.2.3