summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-08-14 09:49:22 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-08-14 09:49:22 -0700
commit5fdd590f9b9a9f5aa3a60e44fe8f010c43f8c54e (patch)
tree7f4795168172feea108e821871d8d10db8d3f08b
parentf4800d0cfbadf9fc50dddbe2b1eb8d62548d7fe5 (diff)
NullIceErrorHandler: make arg names match between definition & declaration
Solves cppcheck warning: [smproxy.c:73] -> [smproxy.c:448]: (style, inconclusive) Function 'NullIceErrorHandler' argument 3 names different: declaration 'offendingMinorOpCode' definition 'offendingMinorOpcode'. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--smproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/smproxy.c b/smproxy.c
index fb12cbf..7bb6331 100644
--- a/smproxy.c
+++ b/smproxy.c
@@ -70,7 +70,7 @@ static void SaveCompleteCB ( SmcConn smcConn, SmPointer clientData );
static void ShutdownCancelledCB ( SmcConn smcConn, SmPointer clientData );
static void ProcessIceMsgProc ( XtPointer client_data, int *source, XtInputId *id );
static void NullIceErrorHandler ( IceConn iceConn, Bool swap,
- int offendingMinorOpCode,
+ int offendingMinorOpcode,
unsigned long offendingSequence,
int errorClass, int severity, IcePointer values );
static void ConnectClientToSM ( WinInfo *winInfo );