diff options
author | Justin Bogner <mail@justinbogner.com> | 2023-08-16 16:15:45 -0700 |
---|---|---|
committer | Justin Bogner <mail@justinbogner.com> | 2023-08-16 16:19:57 -0700 |
commit | 314a5d707fe70369e3e1a6ac561d64884896dbd7 (patch) | |
tree | c09fcd7d99cee17ac6781168ce17fd0b207b2e06 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | 6f4a0c762fe2c0077865e0e30e3dfd67cd6287d1 (diff) | |
download | llvm-314a5d707fe70369e3e1a6ac561d64884896dbd7.zip llvm-314a5d707fe70369e3e1a6ac561d64884896dbd7.tar.gz llvm-314a5d707fe70369e3e1a6ac561d64884896dbd7.tar.bz2 |
Simplify a conditional in order to avoid a warning under MSVC
We were using some convoluted logic here to check if the result of a
`bool` returning function was false, causing MSVC to give a warning
about "'>': unsafe use of type 'bool' in operation". This just removes
the greater-than comparison of the bool against zero.
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions