]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
perf_counter tools: Fix warn_unused_result warnings
authorFrederic Weisbecker <fweisbec@gmail.com>
Thu, 4 Jun 2009 20:15:58 +0000 (22:15 +0200)
committerIngo Molnar <mingo@elte.hu>
Thu, 4 Jun 2009 20:46:40 +0000 (22:46 +0200)
commit76a0f40fd6eff1bce3b91925cea7587b3399fe80
tree39e015ad97af7eb4f6873cd2a8999f32c7432d8e
parent9ac995457b2a148ed9bb8860e8b7cb869327b102
perf_counter tools: Fix warn_unused_result warnings

Fix warnings for return values that we don't care about:

 util/quote.c:222: attention : ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
 util/quote.c:235: attention : ignoring return value of ‘fwrite’, declared with attribute warn_unused_result
 util/quote.c: In function ‘write_name_quotedpfx’:
 util/quote.c:290: attention : ignoring return value of ‘fwrite’, declared with attribute warn_unused_result

Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>
Cc: Mike Galbraith <efault@gmx.de>
Cc: Paul Mackerras <paulus@samba.org>
Cc: Corey Ashford <cjashfor@linux.vnet.ibm.com>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
LKML-Reference: <1244146558-8635-1-git-send-email-fweisbec@gmail.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Documentation/perf_counter/util/quote.c