Fix compilation error under Visual Studio 2010
authorXiaodong Qi <qxd@bupt.edu.cn>
Sat, 28 Nov 2015 16:14:29 +0000 (00:14 +0800)
committerXiaodong Qi <qxd@bupt.edu.cn>
Sat, 28 Nov 2015 16:14:29 +0000 (00:14 +0800)
commit602d2715a27d8188c81f3357198f24727c69a797
treed6f868125411545aea0c89bbc49ec3fd3961b403
parent3375865b52e84f42d0acfc64a73a4218245a028b
Fix compilation error under Visual Studio 2010

Visual Studio 2010 use a compiler that supports only C89, which
only supports declaring variable at top of a local scope. Moving
scope variable to the top of function should solve this problem.
winpr/libwinpr/utils/wlog/ConsoleAppender.c