summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormemeplex <carlosjosepita@gmail.com>2019-10-16 13:44:00 -0300
committerEli Zaretskii <eliz@gnu.org>2019-10-26 13:16:46 +0300
commit16372a5a04c1bf2028941dec6bbdbf75d1f61a62 (patch)
tree358a3a0b0d933983eb643c8e61fd30fe76c7b88d
parentc3b0950639f847264d3d6558d065993fb743376c (diff)
downloademacs-16372a5a04c1bf2028941dec6bbdbf75d1f61a62.tar.gz
emacs-16372a5a04c1bf2028941dec6bbdbf75d1f61a62.tar.bz2
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. */)
fb.bits = b = ((unsigned short *)
ptr_bounds_clip (xfb + 1, fb.height * BYTES_PER_BITMAP_ROW));
xfb = ptr_bounds_clip (xfb, sizeof *xfb);
- memset (b, 0, fb.height);
j = 0;
while (j < fb.height)