utils/hp2ps/Main.c:88: possible missing break ?

David Binderman dcb314 at hotmail.com
Thu May 14 11:40:44 UTC 2015


Hello there,
 
[utils/hp2ps/Main.c:88] -> [utils/hp2ps/Main.c:91]: (warning) Variable 'iflag' is reassigned
 a value before the old one has been used. 'break;' missing?
 
Source code is
 
        switch( *(*argv + 1) ) {
          case '-':
            iflag = -1;
          case '+':
          default:
            iflag = 1;
        }
 
Suggest add missing break.

Regards
 
David Binderman 		 	   		  


More information about the ghc-devs mailing list