emacs-diffs
[Top][All Lists]
Advanced

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

master 6fdf035f62e 1/3: ; Delete a superfluous bitwise 'or'


From: Stefan Kangas
Subject: master 6fdf035f62e 1/3: ; Delete a superfluous bitwise 'or'
Date: Mon, 8 Jan 2024 01:24:58 -0500 (EST)

branch: master
commit 6fdf035f62ed3cdd55a5cafe823a2d749637ce25
Author: Stefan Kangas <stefankangas@gmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    ; Delete a superfluous bitwise 'or'
    
    * src/xterm.c (x_term_init): Avoid bitwise 'or' using the same
    variable as both operands (X | X => X).
---
 src/xterm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/xterm.c b/src/xterm.c
index 1f398b2e39a..0cbf32ae1ea 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -31503,7 +31503,6 @@ x_term_init (Lisp_Object display_name, char 
*xrm_option, char *resource_name)
                                      dpyinfo->selection_tracking_window,
                                      selection_name,
                                      (XFixesSetSelectionOwnerNotifyMask
-                                      | XFixesSetSelectionOwnerNotifyMask
                                       | XFixesSelectionClientCloseNotifyMask));
        }
 



reply via email to

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