Don't we all need a break (or two) ?

Programmers discuss here anything related to FreeOrion programming. Primarily for the developers to discuss.

Moderator: Committer

Post Reply
Message
Author
User avatar
vincele
Space Dragon
Posts: 341
Joined: Sun Mar 23, 2014 6:10 pm

Don't we all need a break (or two) ?

#1 Post by vincele »

I stumbled upon what I think are missing breaks in switch statements, those misses appears to be harmless, but...
We may still want to add them (if my assumptions about them are correct) to make the code more future-proof.

See the following patch :

[The extension diff has been deactivated and can no longer be displayed.]

What do you think ?

PS: my current work adds a :

Code: Select all

case 3:
Which would make your fleets do strange things...
All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: Don't we all need a break (or two) ?

#2 Post by Geoff the Medio »


User avatar
vincele
Space Dragon
Posts: 341
Joined: Sun Mar 23, 2014 6:10 pm

Re: Don't we all need a break (or two) ?

#3 Post by vincele »

thanks
All the patches I'll provide for freeorion will be released under the GPL v2 or later license.
Let's unleash the dyson forest powa!

Post Reply