Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Or similarly:

   if error_5 {
      goto fail;
   }
   /* line deleted here */
      goto fail;
   }
   if error_7 {
      goto fail;
   }
Many ways to skin the same cat, but it boils down to following good practices that emphasize errors like this (presumably removing an error condition and leaving the goto).


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: