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:
parent
c3b0950639
commit
16372a5a04
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user