I'll take a look...

Bob


On Tue, Aug 17, 2010 at 12:12 PM, Nicolas Vervelle <nverve...@gmail.com>wrote:

> Hi,
>
> Could we get rid of the 'dead code' warnings ?
> Most of them are due to code like : if (true || xxx) ...
> which makes xxx a dead code.
>
> If it's intended, I see 2 ways of removing the warning :
>
>    - Removing the dead code (if the true is definitive, it will clear it
>    definitely)
>    - Replacing the 'true' by a constant (final static boolean) set to true
>    : it will be a lot more comprehensible and the compiler should stop to
>    complain :)
>
> Nico
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by
>
> Make an app they can't live without
> Enter the BlackBerry Developer Challenge
> http://p.sf.net/sfu/RIM-dev2dev
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers
>
>


-- 
Robert M. Hanson
Professor of Chemistry
St. Olaf College
1520 St. Olaf Ave.
Northfield, MN 55057
http://www.stolaf.edu/people/hansonr
phone: 507-786-3107


If nature does not answer first what we want,
it is better to take what answer we get.

-- Josiah Willard Gibbs, Lecture XXX, Monday, February 5, 1900
------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to