summaryrefslogtreecommitdiff
path: root/src/bin/evas
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-10 20:16:09 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-01-10 20:16:09 +0900
commit10d9adfc461fff8fd1774f9a7258a4fde073a1c0 (patch)
treeeb907f79a1585223213f753dd230b11d79458778 /src/bin/evas
parent79e6918f00a9122f8acf3c926edcc4a3b384cbb7 (diff)
evas cserv2 - remove logical dead code
fixes CID 1113441
Diffstat (limited to 'src/bin/evas')
-rw-r--r--src/bin/evas/evas_cserve2_index.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/bin/evas/evas_cserve2_index.c b/src/bin/evas/evas_cserve2_index.c
index 284b0a6299..bfa10b3ad5 100644
--- a/src/bin/evas/evas_cserve2_index.c
+++ b/src/bin/evas/evas_cserve2_index.c
@@ -563,12 +563,10 @@ _shared_index_entry_get_by_id(Shared_Index *si, unsigned int id)
563 563
564 // Binary search 564 // Binary search
565 start_high = high; 565 start_high = high;
566 while(high > low) 566 while (high > low)
567 { 567 {
568 cur = low + ((high - low) / 2); 568 cur = low + ((high - low) / 2);
569 obj = (Index_Entry *) (base + (elemsize * cur)); 569 obj = (Index_Entry *) (base + (elemsize * cur));
570 if (!obj)
571 return NULL;
572 if (obj->id == id) 570 if (obj->id == id)
573 return obj; 571 return obj;
574 if (obj->id < id) 572 if (obj->id < id)