diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-17 16:50:18 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-07-17 16:50:18 -0700 |
commit | d8086f474c8d2d60180968d1295dd1a55d465920 (patch) | |
tree | 34e88a7101cf6867921e85888767ed94db1e3799 | |
parent | e967c558a5cd402aaef0a6894f1bb237a1813747 (diff) | |
download | xorg-lib-libXp-d8086f474c8d2d60180968d1295dd1a55d465920.tar.gz |
XpNotifyPdm.c: fix -Wmisleading-indentation warning
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 <alan.coopersmith@oracle.com>
-rw-r--r-- | src/XpNotifyPdm.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 ); |