Fixed unreachable code 99/102199/1 accepted/tizen/common/20161207.184524 accepted/tizen/ivi/20161208.012213 accepted/tizen/mobile/20161208.011828 accepted/tizen/tv/20161208.012054 accepted/tizen/unified/20170309.040051 accepted/tizen/wearable/20161208.012118 submit/tizen/20161207.075356 submit/tizen_unified/20170308.100414
authorTae-Young Chung <ty83.chung@samsung.com>
Mon, 5 Dec 2016 07:26:33 +0000 (16:26 +0900)
committerTae-Young Chung <ty83.chung@samsung.com>
Mon, 5 Dec 2016 07:28:51 +0000 (16:28 +0900)
- finder should be the type of unsigned int

Change-Id: I3352fc8c4c9980aea6134bceba5cc2c581199d54
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
packaging/zbar.spec
zbar/decoder/databar.c

index ba66af3..045a4bd 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:           zbar
 Version:        0.10
-Release:        21
+Release:        22
 Summary:        Bar code reader
 Group:          Development/Libraries
 License:        LGPL-2.1+
index 8cfa848..e7172d2 100644 (file)
@@ -1154,8 +1154,8 @@ decode_finder (zbar_decoder_t *dcode)
     databar_segment_t *seg;
     unsigned e0 = pair_width(dcode, 1);
     unsigned e2 = pair_width(dcode, 3);
-    unsigned e1, e3, s, finder, dir;
-    int sig, iseg;
+    unsigned e1, e3, s, dir;
+    int sig, iseg, finder;
     dbprintf(2, "      databar: e0=%d e2=%d", e0, e2);
     if(e0 < e2) {
         unsigned e = e2 * 4;