Re: [ovs-dev] [PATCH] vlog: Ignore return value of some write() calls.

2012-08-07 Thread Justin Pettit
On Aug 7, 2012, at 4:08 PM, Ben Pfaff wrote: > On Tue, Aug 07, 2012 at 03:49:00PM -0700, Justin Pettit wrote: >> A couple of calls to write() would generate warnings when the >> "-Wunused-result" compiler option is enabled. This change ignores the >> return value, since we can't do anything abou

Re: [ovs-dev] [PATCH] vlog: Ignore return value of some write() calls.

2012-08-07 Thread Ben Pfaff
On Tue, Aug 07, 2012 at 03:49:00PM -0700, Justin Pettit wrote: > A couple of calls to write() would generate warnings when the > "-Wunused-result" compiler option is enabled. This change ignores the > return value, since we can't do anything about it in logging code. > > Signed-off-by: Justin Pet

[ovs-dev] [PATCH] vlog: Ignore return value of some write() calls.

2012-08-07 Thread Justin Pettit
A couple of calls to write() would generate warnings when the "-Wunused-result" compiler option is enabled. This change ignores the return value, since we can't do anything about it in logging code. Signed-off-by: Justin Pettit --- lib/vlog.c |4 ++-- 1 files changed, 2 insertions(+), 2 del