aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStefan Kangas2024-01-07 22:19:06 +0100
committerStefan Kangas2024-01-08 07:23:52 +0100
commit267c9b54b16e50f76e5ce88ff153d1a24d093563 (patch)
tree9fbf91f56bcd86f733ae05bb97a8c7468790ddd0 /src
parentc21995ff008d37e768a33412cad5fc9f5c3c2dbb (diff)
downloademacs-267c9b54b16e50f76e5ce88ff153d1a24d093563.tar.gz
emacs-267c9b54b16e50f76e5ce88ff153d1a24d093563.zip
Remove redundant conversion from bool to bool
* src/xdisp.c (maybe_produce_line_number): Remove redundant conversion of the value of an expression from bool to bool.
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index f8670c6ecb5..14cf030ca4e 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -24648,7 +24648,7 @@ maybe_produce_line_number (struct it *it)
24648 /* Produce the glyphs for the line number. */ 24648 /* Produce the glyphs for the line number. */
24649 struct it tem_it; 24649 struct it tem_it;
24650 char lnum_buf[INT_STRLEN_BOUND (ptrdiff_t) + 1]; 24650 char lnum_buf[INT_STRLEN_BOUND (ptrdiff_t) + 1];
24651 bool beyond_zv = IT_BYTEPOS (*it) >= ZV_BYTE ? true : false; 24651 bool beyond_zv = IT_BYTEPOS (*it) >= ZV_BYTE;
24652 ptrdiff_t lnum_offset = -1; /* to produce 1-based line numbers */ 24652 ptrdiff_t lnum_offset = -1; /* to produce 1-based line numbers */
24653 int lnum_face_id = merge_faces (it->w, Qline_number, 0, DEFAULT_FACE_ID); 24653 int lnum_face_id = merge_faces (it->w, Qline_number, 0, DEFAULT_FACE_ID);
24654 int current_lnum_face_id 24654 int current_lnum_face_id