aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormemeplex2019-10-16 13:44:00 -0300
committerEli Zaretskii2019-10-26 13:16:46 +0300
commit16372a5a04c1bf2028941dec6bbdbf75d1f61a62 (patch)
tree358a3a0b0d933983eb643c8e61fd30fe76c7b88d
parentc3b0950639f847264d3d6558d065993fb743376c (diff)
downloademacs-16372a5a04c1bf2028941dec6bbdbf75d1f61a62.tar.gz
emacs-16372a5a04c1bf2028941dec6bbdbf75d1f61a62.zip
Remove redundant initialization of fringe bitmap (Bug#37756)
* src/fringe.c (Fdefine-fringe-bitmap): Remove redundant zeroing of fb.bits that only zeroed half of the array anyway.
-rw-r--r--src/fringe.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/fringe.c b/src/fringe.c
index 22f3bdc2ba8..08bf271ed56 100644
--- a/src/fringe.c
+++ b/src/fringe.c
@@ -1607,7 +1607,6 @@ If BITMAP already exists, the existing definition is replaced. */)
1607 fb.bits = b = ((unsigned short *) 1607 fb.bits = b = ((unsigned short *)
1608 ptr_bounds_clip (xfb + 1, fb.height * BYTES_PER_BITMAP_ROW)); 1608 ptr_bounds_clip (xfb + 1, fb.height * BYTES_PER_BITMAP_ROW));
1609 xfb = ptr_bounds_clip (xfb, sizeof *xfb); 1609 xfb = ptr_bounds_clip (xfb, sizeof *xfb);
1610 memset (b, 0, fb.height);
1611 1610
1612 j = 0; 1611 j = 0;
1613 while (j < fb.height) 1612 while (j < fb.height)