emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 16372a5: Remove redundant initialization of fringe bitmap (Bug#37


From: Eli Zaretskii
Subject: master 16372a5: Remove redundant initialization of fringe bitmap (Bug#37756)
Date: Sat, 26 Oct 2019 06:19:41 -0400 (EDT)

branch: master
commit 16372a5a04c1bf2028941dec6bbdbf75d1f61a62
Author: memeplex <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    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.
---
 src/fringe.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/fringe.c b/src/fringe.c
index 22f3bdc..08bf271 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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]