summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2011-09-29 21:53:29 +0300
committerTor Lillqvist <tml@iki.fi>2011-09-29 22:07:55 +0300
commit50ce26da1431d4695af24827679799c7a20c507b (patch)
treeaa5d262e832b9e39f905e61935d737b16333ab46 /desktop
parent235a5e6c323432bf44db8de6cd05d1a5cc526022 (diff)
WaE: suggest a space before ';' or explicit braces around empty body in 'while' statement
Diffstat (limited to 'desktop')
-rw-r--r--desktop/source/pkgchk/unopkg/unopkg_app.cxx3
1 files changed, 2 insertions, 1 deletions
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;