diff options
| author | memeplex | 2019-10-16 13:44:00 -0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-10-26 13:16:46 +0300 |
| commit | 16372a5a04c1bf2028941dec6bbdbf75d1f61a62 (patch) | |
| tree | 358a3a0b0d933983eb643c8e61fd30fe76c7b88d /src | |
| parent | c3b0950639f847264d3d6558d065993fb743376c (diff) | |
| download | emacs-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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fringe.c | 1 |
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) |