[Xorp-cvs] XORP cvs commit: xorp/libxipc
Pavlin Radoslavov
pavlin@icir.org
Mon, 20 Jun 2005 21:44:26 GMT
CVSROOT: /usr/local/share/doc/apache/cvs
Module name: xorp
Changes by: pavlin@xorpc.icir.org 2005-06-20 21:44:26 UTC
XORP CVS repository
Modified files:
libxipc xrl_parser.cc
Log message:
Replace:
bool
foo() {
...
if (...) {
...
return true;
} else {
return false;
}
}
With:
bool
foo() {
...
if (...) {
...
return true;
}
return false;
}
This minor refactoring is needed to pacify the gcc-4.0 compiler
on MacOS X 10.4 which complains with:
"control reaches end of non-void function"
Revision Changes Path
1.11 +2 -3; commitid: 8eaf42b737dc7ea6; xorp/libxipc/xrl_parser.cc