From: Constantin Kaplinsky Date: Sun, 4 Jun 2006 01:59:54 +0000 (+0000) Subject: Minor code cleanup. X-Git-Tag: v0.0.90~384^2~250 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=18076a9c82ea3beec9a06a87f84b49c060eafb15;p=tigervnc.git Minor code cleanup. git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@633 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- 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]; } //