diff options
author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2016-10-29 21:04:02 +0200 |
---|---|---|
committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2016-10-29 21:14:33 +0200 |
commit | fdc76f737d49492a0bb43d8c93027174d3675538 (patch) | |
tree | d6453d0e998a1e34e4769d316036d0f5cf052457 /camlibs/mars | |
parent | b86b8e90333310495bcd70f5c3bf5a906b89c480 (diff) | |
download | libgphoto2-fdc76f737d49492a0bb43d8c93027174d3675538.tar.gz |
remove redundant parenthesis in conditional
This makes the code more obvious, and stops triggering a compiler warning.
Diffstat (limited to 'camlibs/mars')
-rw-r--r-- | camlibs/mars/mars.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camlibs/mars/mars.c b/camlibs/mars/mars.c index f15b0e8cd..d29eb6364 100644 --- a/camlibs/mars/mars.c +++ b/camlibs/mars/mars.c @@ -74,7 +74,7 @@ mars_init (Camera *camera, GPPort *port, Info *info) */ m_read(port, c, 16); - if ( (c[0] == 0x02 ) ) { + if (c[0] == 0x02) { gp_port_write(port, "\x19", 1); gp_port_read(port, c, 16); } |