Avoid tautological compare in folly/experimental/symbolizer/
authorYedidya Feldblum <yfeldblum@fb.com>
Sat, 23 Sep 2017 04:19:34 +0000 (21:19 -0700)
committerFacebook Github Bot <facebook-github-bot@users.noreply.github.com>
Sat, 23 Sep 2017 04:20:10 +0000 (21:20 -0700)
commit91da2e5ab93302bbf728d2c71cd82fa143837321
treeb5baebf00eb40ca795913cbe979bb335076aee69
parent47d37c8e3d1b861615596283f4483fac33cbcf61
Avoid tautological compare in folly/experimental/symbolizer/

Summary:
[Folly] Avoid tautological compare in `folly/experimental/symbolizer/`.

`x < 0` when `x` is unsigned is tautological and there are warnings against such comparisons. The underlying type of an unscoped enumerations without a fixed underlying type is not specified, and whether it is signed is also not specified; it could be unsigned, and is unsigned in practice in common cases.

Reviewed By: Orvid, eduardo-elizondo

Differential Revision: D5897792

fbshipit-source-id: 24d84f9bf2c61c907585e1b675c2bbf11ef1720b
folly/experimental/symbolizer/Symbolizer.cpp