Buildfix for Windows

You cannot jump past a declaration with an initializer unless the
declaration is enclosed in a block. See MSDN compiler error C2360.

Change-Id: I692b0f256decf70b6153703ff59f74596cfc2861
Reviewed-by: Michael Bruning <michael.bruning@digia.com>