summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/marker.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/marker.c b/src/marker.c
index 6755993bfac..b58051a8c2b 100644
--- a/src/marker.c
+++ b/src/marker.c
@@ -332,12 +332,6 @@ buf_bytepos_to_charpos (struct buffer *b, ptrdiff_t bytepos)
if (best_above == best_above_byte)
return bytepos;
-#if 0
- /* Check bytepos is not in the middle of a character. */
- eassert (bytepos >= BUF_Z_BYTE (b)
- || CHAR_HEAD_P (BUF_FETCH_BYTE (b, bytepos)));
-#endif
-
best_below = BEG;
best_below_byte = BEG_BYTE;