[ovs-git] [openvswitch/ovs] 296527: perf-counter: fix compiler warnings

GitHub noreply at github.com
Tue Apr 14 22:24:28 UTC 2015


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 296527dffb8b6f90f2305bd20bae36be3add3cdc
      https://github.com/openvswitch/ovs/commit/296527dffb8b6f90f2305bd20bae36be3add3cdc
  Author: Andy Zhou <azhou at nicira.com>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M lib/perf-counter.c

  Log Message:
  -----------
  perf-counter: fix compiler warnings

Gcc complains about:
lib/perf-counter.c:43:13: error: ignoring return value of 'read',
declared with attribute warn_unused_result [-Werror=unused-result]
   read(fd__, counter, sizeof(*counter));

Signed-off-by: Andy Zhou <azhou at nicira.com>
Acked-by: Russell Bryant <rbryant at redhat.com>




More information about the git mailing list