1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-17 10:06:13 +00:00

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.
This commit is contained in:
memeplex 2019-10-16 13:44:00 -03:00 committed by Eli Zaretskii
parent c3b0950639
commit 16372a5a04

View File

@ -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)