summaryrefslogtreecommitdiff
path: root/libtk/tindx.c
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2006-12-23 00:30:12 +0000
committerCharles.Forsyth <devnull@localhost>2006-12-23 00:30:12 +0000
commit6e425a9de8c003b5a733621a6b6730ec3cc902b8 (patch)
tree314123bcab78ff295f38f85f31dc141e5fe22d15 /libtk/tindx.c
parent74a4d8c26dd3c1e9febcb717cfd6cb6512991a7a (diff)
20061220
Diffstat (limited to 'libtk/tindx.c')
-rw-r--r--libtk/tindx.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libtk/tindx.c b/libtk/tindx.c
index 8eeffc69..dd0807bf 100644
--- a/libtk/tindx.c
+++ b/libtk/tindx.c
@@ -517,7 +517,8 @@ tktindcompare(TkText *tkt, TkTindex *i1, int op, TkTindex *i2)
ans = !eq && tktindbefore(i2, i1);
break;
default:
- SET(ans);
+ ans = 0; /* not reached */
+ break;
};
return ans;