WARN21-Dangerous Raise

Top  Previous  Next

 

Dangerous Raise (WARN21)

 

This is a list of all locations with dangerous raise commands. These raise-commands may leave a whole block of code that is never executed (dead code). Every unconditional (not within an if-statement) raise-command is considered dangerous in this respect. Raise-commands within except-blocks are considered as safe, however.

 

There are situations when a developer inserts raise-commands just for testing purposes, for example to quit a function without executing a block of code. This report section catches those locations where raise-commands have not been removed.

 

Example:

 

clip0076

 

 

See also:

 

Alerts