perf report: Fix warning assignment of 0/1 to bool variable
authorZou Wei <zou_wei@huawei.com>
Sun, 26 Apr 2020 12:38:03 +0000 (20:38 +0800)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 30 Apr 2020 13:48:33 +0000 (10:48 -0300)
commit6fa9c3e779b89612c56f8ee0096b2252d906357a
tree4a889f7d39a2ed00bd46e6deee54b29a655ae8ac
parent8284bbeab75f1842dc11531356115c4d09abebc0
perf report: Fix warning assignment of 0/1 to bool variable

Fixes coccicheck warning:

  tools/perf/builtin-report.c:1403:2-34: WARNING: Assignment of 0/1 to bool variable

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Zou Wei <zou_wei@huawei.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lore.kernel.org/lkml/1587904683-3510-1-git-send-email-zou_wei@huawei.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-report.c