From: Peter Åstrand Date: Wed, 10 Dec 2008 10:30:30 +0000 (+0000) Subject: Avoid GCC warning: initializer lists ordered as declarations X-Git-Tag: v0.0.90~316 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=431dab05daed447440dee53baa70f218790df00a;p=tigervnc.git Avoid GCC warning: initializer lists ordered as declarations git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3353 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- diff --git a/win/rfb_win32/DynamicFn.cxx b/win/rfb_win32/DynamicFn.cxx index b71ea7b3..033971d3 100644 --- a/win/rfb_win32/DynamicFn.cxx +++ b/win/rfb_win32/DynamicFn.cxx @@ -26,7 +26,7 @@ using namespace win32; static LogWriter vlog("DynamicFn"); -DynamicFnBase::DynamicFnBase(const TCHAR* dllName, const char* fnName) : dllHandle(0), fnPtr(0) { +DynamicFnBase::DynamicFnBase(const TCHAR* dllName, const char* fnName) : fnPtr(0), dllHandle(0) { dllHandle = LoadLibrary(dllName); if (!dllHandle) { vlog.info("DLL %s not found (%d)", (const char*)CStr(dllName), GetLastError());