mirror of
https://github.com/zxing/zxing.git
synced 2024-11-10 04:54:04 -08:00
avoid a -Wall warning (and remind myself how to override CXX)
git-svn-id: https://zxing.googlecode.com/svn/trunk@1902 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
parent
12cdb98b81
commit
7829686a8a
|
@ -4,6 +4,7 @@ vars = Variables()
|
|||
vars.Add(BoolVariable('DEBUG', 'Set to disable optimizations', 1))
|
||||
vars.Add(BoolVariable('PIC', 'Set to 1 for to always generate PIC code', 0))
|
||||
env = Environment(variables = vars)
|
||||
# env.Replace(CXX = "clang++")
|
||||
|
||||
debug = env['DEBUG']
|
||||
compile_options = {}
|
||||
|
|
|
@ -239,7 +239,7 @@ float Detector::sizeOfBlackWhiteBlackRun(int fromX, int fromY, int toX, int toY)
|
|||
int realY = steep ? x : y;
|
||||
|
||||
// Does current pixel mean we have moved white to black or vice versa?
|
||||
if (!(state == 1 ^ image_->get(realX, realY))) {
|
||||
if (!((state == 1) ^ image_->get(realX, realY))) {
|
||||
if (state == 2) {
|
||||
int diffX = x - fromX;
|
||||
int diffY = y - fromY;
|
||||
|
|
Loading…
Reference in a new issue