Update of bug #13621 (project freeciv):
Assigned to: None => mbook
_______________________________________________________
Follow-up Comment #3:
A better and more c compiler friendly style would
be to either declare the variables before the switch
statement, or use braces around the cases:
case SSET_BOOL:
{
bool val_bool;
...
break;
}
Personally I would rather prefer the former:
{
bool bval;
int ival;
const char *sval;
switch (op->stype) {
case SSET_BOOL:
bval = ...
Please use one of these two styles, and not the
strange "{} /* no error */" thing.
----------------------------------------------------------------
規則に従わなければなりません。
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?13621>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev