[Python-Dev] Re: [Python-checkins] CVS: python/dist/src/Modules _sre.c,2.63,2.64

Fredrik Lundh fredrik@pythonware.com
Thu, 30 Aug 2001 19:15:07 +0200


sjoerd wrote:
> 
> Modified Files:
> _sre.c 
> Log Message:
> Removed unreachable return to silence SGI compiler.
> 
> !     /* shouldn't end up here */
> !     return SRE_ERROR_ILLEGAL;
>   }
>   
> --- 1141,1145 ----
>       }
>   
> !     /* can't end up here */
>   }

I hate stuff like this: that line was there to make sure *I* don't
mess up when developing SRE, not to deal with potentially broken
compilers or misfired electrons.

isn't there any way to tell the SGI compiler to stop whining about
this?

</F>