Project: Eclipse_Platform_UI
Bug 44327 new compiler option...
Reported: 2003-10-07 12:40:38 | Status: verified fixed

...warn possibly incorrect conditional: if (foo); while (foo); { ... } for (int x=0;i<len;i++); { ... } etc. the first should warn if there are (likely) no side-effects. the last two (with proceeding '{') should always warn. this can be even more general as any time you have a '{' after a ';' (in a method) it is likely an error (though not always).

Files changed in fix:
bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/progress/ProgressManager.java