Dead code: Difference between revisions

Content deleted Content added
Pagen HD (talk | contribs)
Example: exception-raising dead code cannot be removed without potentially changing the output
Line 16:
</source>
 
In the above example, although the division of <tt>iX</tt> by <tt>iY</tt> is computed and never used, it will throw an exception when a division by zero occurs. ItTherefore isthe thusremoval of the dead code andmay change the output canof bethe removedprogram.
 
== Analysis ==