From: Peter Åstrand Date: Wed, 10 Dec 2008 10:29:06 +0000 (+0000) Subject: Avoid GCC warning: initializer lists ordered as declarations X-Git-Tag: v0.0.90~317 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=ee3f46adc9d24d5a1ab4c5eada9dbd8605651963;p=tigervnc.git Avoid GCC warning: initializer lists ordered as declarations git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3352 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/rfb_win32/DIBSectionBuffer.cxx b/win/rfb_win32/DIBSectionBuffer.cxx index 18ce3ea4..3c2f5096 100644 --- a/win/rfb_win32/DIBSectionBuffer.cxx +++ b/win/rfb_win32/DIBSectionBuffer.cxx @@ -28,7 +28,7 @@ static LogWriter vlog("DIBSectionBuffer"); DIBSectionBuffer::DIBSectionBuffer(HWND window_) - : bitmap(0), device(0), window(window_) { + : bitmap(0), window(window_), device(0) { memset(&format, 0, sizeof(format)); memset(palette, 0, sizeof(palette)); }