summaryrefslogtreecommitdiff
path: root/libtk/tindx.c
diff options
context:
space:
mode:
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;