[haiku-commits] Re: r42432 - haiku/trunk/src/bin/locale

  • From: pulkomandy@xxxxxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 15 Jul 2011 20:53:41 +0200

On 2011-07-15 at 20:49:12 [+0200], John Scipione <jscipione@xxxxxxxxx> 
wrote:
> On Fri, Jul 15, 2011 at 1:30 PM, <pulkomandy@xxxxxxxxxxxxxxxxx> wrote:
> 
> >                default: {
> >                        res =
> > targetCatalog.WriteToFile(outputFile.String());
> > @@ -168,6 +170,7 @@
> >                                     outputFile.String(), strerror(res));
> >                                exit(-1);
> >                        }
> > +                       break;
> >                }
> >        }
> >
> 
> Also do you really need a break in the default case?
> 
> John Scipione

No, but it doens't hurt either, and may avoid problems later.

-- 
Adrien.

Other related posts: