title: PLW-06002 unreachable code when using NULL;
body: <p>I occasionally do something like....</p>
  
  <pre><code>IF very-likely-condition THEN
      NULL;
  ELSE
      &lt;&lt;code to deal with the unlikely condition&gt;&gt;
  END IF;
  </code></pre>
  
  <p>Which gives a <strong>PLW-06002 unreachable code</strong> warning from the PL/SQL compiler on the NULL line atfer the IF.</p>
  
  <p>Now whilst I can clearly ignore the warning and/or refactor the IF statement to be a NOT, I think it reads better this way.</p>
  
  <p>So does anybody know is there is another way of inserting an empty statement so that I don't get the compiler warning?</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I'm not saying I do this often... in fact I'd do it very rarely.  But occasionally I do think it reads better this way.</p>
  
  <p><strong>EDIT 2:</strong></p>
  
  <p>Plus there are other scenarios where it might be valid to do this (such as ignoring a specific error in an EXCEPTION block).  I only used the IF as a simple example to illustrate the point.</p>