From 50ce26da1431d4695af24827679799c7a20c507b Mon Sep 17 00:00:00 2001 From: Tor Lillqvist Date: Thu, 29 Sep 2011 21:53:29 +0300 Subject: [PATCH] WaE: suggest a space before ';' or explicit braces around empty body in 'while' statement --- desktop/source/pkgchk/unopkg/unopkg_app.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/desktop/source/pkgchk/unopkg/unopkg_app.cxx b/desktop/source/pkgchk/unopkg/unopkg_app.cxx index 82af6dc402e0..ec156d3ac8c4 100644 --- a/desktop/source/pkgchk/unopkg/unopkg_app.cxx +++ b/desktop/source/pkgchk/unopkg/unopkg_app.cxx @@ -277,7 +277,8 @@ extern "C" DESKTOP_DLLPUBLIC int unopkg_main() return 0; } //consume all bootstrap variables which may occur before the subcommannd - while(isBootstrapVariable(&nPos)); + while(isBootstrapVariable(&nPos)) + ; if(nPos >= nCount) return 0;