[ovs-discuss] [PATCH 2/3] vswitchd: Don't build non-used function to prevent compiler warnings

Ben Pfaff blp at nicira.com
Wed Jul 29 23:29:52 UTC 2009


Justin Pettit <jpettit at nicira.com> writes:

> The function send_ofmp_error_msg() is not currently used, so it was
> producing compiler warnings that it was defined.  This checkin #if 0's
> it out, so that the file compiles cleanly.

Why not just delete it entirely?  It's always in the history if
we need it, and it's easier to read code without conditionals.




More information about the discuss mailing list