From 18076a9c82ea3beec9a06a87f84b49c060eafb15 Mon Sep 17 00:00:00 2001 From: Constantin Kaplinsky Date: Sun, 4 Jun 2006 01:59:54 +0000 Subject: [PATCH] Minor code cleanup. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@633 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/rfb/CapsContainer.cxx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/common/rfb/CapsContainer.cxx b/common/rfb/CapsContainer.cxx index d9d2ea50..2eb91f64 100644 --- a/common/rfb/CapsContainer.cxx +++ b/common/rfb/CapsContainer.cxx @@ -25,10 +25,8 @@ using namespace rfb; // CapsContainer::CapsContainer(int maxCaps) +: m_maxSize(maxCaps), m_listSize(0), m_plist(new rdr::U32[m_maxSize]) { - m_maxSize = maxCaps; - m_listSize = 0; - m_plist = new rdr::U32[m_maxSize]; } // -- 2.39.5