From d8086f474c8d2d60180968d1295dd1a55d465920 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Sun, 17 Jul 2022 16:50:18 -0700 Subject: XpNotifyPdm.c: fix -Wmisleading-indentation warning MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit XpNotifyPdm.c: In function ‘_XpGetSelectionServer’: XpNotifyPdm.c:191:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 191 | if ( (selectionstr = getenv( ALT_PDM_SELECTION_ENV_VAR )) == NULL ) | ^~ XpNotifyPdm.c:194:13: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 194 | *sel_atom = XInternAtom( sel_display, selectionstr, False ); | ^ Signed-off-by: Alan Coopersmith --- src/XpNotifyPdm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/XpNotifyPdm.c b/src/XpNotifyPdm.c index 32f313d..9bdb467 100644 --- a/src/XpNotifyPdm.c +++ b/src/XpNotifyPdm.c @@ -191,7 +191,7 @@ _XpGetSelectionServer ( if ( (selectionstr = getenv( ALT_PDM_SELECTION_ENV_VAR )) == NULL ) selectionstr = "PDM_MANAGER"; - *sel_atom = XInternAtom( sel_display, selectionstr, False ); + *sel_atom = XInternAtom( sel_display, selectionstr, False ); } return( sel_display ); -- cgit v1.2.1