(Folly) Fix error when compiling with clang
authorHannes Roth <hannesr@fb.com>
Mon, 3 Mar 2014 17:18:59 +0000 (09:18 -0800)
committerDave Watson <davejwatson@fb.com>
Mon, 10 Mar 2014 20:50:04 +0000 (13:50 -0700)
commit122b967d5eddfe95db32a313d44306846fbe4c8c
tree6ee373d7931d03f7595567680220dff3b6c5553f
parente3225b60a767f9bae67a475997e2b5ac426e29ea
(Folly) Fix error when compiling with clang

Summary:
folly/Benchmark.cpp:427:9: error: logical not is only applied to the left hand side of this comparison
if (!strcmp(get<1>(benchmarks[i]), "-") == 0) {

Since the `!` binds to `strcmp`, removing both the `!` and the `== 0`
should be equivalent.

Reviewers of diff that introduced this line: D490324

Test Plan: I compiled `tao/client` with/without this diff.

Reviewed By: delong.j@fb.com

FB internal diff: D1196452

Blame Revision: rFBCODE6f5eea5fcd23044a5c579b040bf45d17006b4adf
folly/Benchmark.cpp