Fixed a lot of warnings using WINE_UNUSED, casts, commenting out and
additional {}. Rewrote GetCreationModeFromSTGM so we don't get
"possible use of uninitialized variable".
diff --git a/controls/menu.c b/controls/menu.c
index 4754eff..afe3223 100644
--- a/controls/menu.c
+++ b/controls/menu.c
@@ -1717,7 +1717,7 @@
}
if (resinfo & 1) { /* Pop-up? */
- DWORD helpid = GET_DWORD(res); /* FIXME: use this. */
+ /* DWORD helpid = GET_DWORD(res); FIXME: use this. */
res += sizeof(DWORD);
mii.hSubMenu = CreatePopupMenu();
if (!mii.hSubMenu)