Remark #128: Loop is not reachable from preceding code

There are several common cases where code will not be executed.

Example #1: from Linux-2.6-rc3 file sound/core/oss/plugin_ops.h

    305 #ifdef GET_S16_END
    306 while(0) {

    307 - 320 ....

    321 }
    322 #endif

Code inside while(0) will not be executed.

How to resolve:

Removing unnecessary code is usually the preferred course of action.

SourceForge.net Logo