Skip to content
Commit 514ce680 authored by Ed Tanous's avatar Ed Tanous Committed by Ed Tanous
Browse files

Replace CHAR_MAX with numeric_limits



Clang analyzer complains on this one about loading an int (CHAR_MAX)
into a char, and that it might overflow.  Obviously it can't, but we
might as well suppress the warning.

Tested: Unit tests pass.

Signed-off-by: default avatarEd Tanous <edtanous@google.com>
Change-Id: I9b8149504ab3c016fc75f0a84bb5c6d04f9c013f
parent 9d335096
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment