diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-14 09:49:22 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-08-14 09:49:22 -0700 |
commit | 5fdd590f9b9a9f5aa3a60e44fe8f010c43f8c54e (patch) | |
tree | 7f4795168172feea108e821871d8d10db8d3f08b | |
parent | f4800d0cfbadf9fc50dddbe2b1eb8d62548d7fe5 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 ); |