summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Carbonneaux2014-08-25 12:33:22 -0400
committerQuentin Carbonneaux2014-08-25 12:33:22 -0400
commitc343ff32170825b518d59abd8607f918ac8302f5 (patch)
tree42a2a368a6fb164d6199a5a0c64108fcdc591485
parent8d2adc4bf73752a2050b783c745bfad05ff7cee2 (diff)
remove useless assert test
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index 778cc87..6a1e13b 100644
--- a/edit.c
+++ b/edit.c
@@ -347,7 +347,7 @@ eb_look(EBuf *eb, unsigned p, Rune *str, unsigned n)
{
unsigned i, j;
- assert(str && n >= 0);
+ assert(str);
while (p<eb->b.limbo) {
i = p++;