]> git.eshelyaron.com Git - emacs.git/commitdiff
; Delete a superfluous bitwise 'or'
authorStefan Kangas <stefankangas@gmail.com>
Sun, 7 Jan 2024 20:43:56 +0000 (21:43 +0100)
committerStefan Kangas <stefankangas@gmail.com>
Mon, 8 Jan 2024 05:15:06 +0000 (06:15 +0100)
* src/xterm.c (x_term_init): Avoid bitwise 'or' using the same
variable as both operands (X | X => X).

src/xterm.c

index 1f398b2e39a9d538cf6e478affa08d89c33e2672..0cbf32ae1ea84b7a6a1ecf748f4ef6890841824a 100644 (file)
@@ -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));
        }