A bunch of similar warnings here: <error file="basic/source/sbx/sbxbyte.cxx" line="215" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> <error file="basic/source/sbx/sbxchar.cxx" line="200" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> <error file="basic/source/sbx/sbxcurr.cxx" line="372" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> <error file="basic/source/sbx/sbxdec.cxx" line="517" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> <error file="basic/source/sbx/sbxint.cxx" line="213" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> <error file="basic/source/sbx/sbxint.cxx" line="493" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> <error file="basic/source/sbx/sbxint.cxx" line="768" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> <error file="basic/source/sbx/sbxlng.cxx" line="173" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> <error file="basic/source/sbx/sbxsng.cxx" line="163" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> <error file="basic/source/sbx/sbxuint.cxx" line="207" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> <error file="basic/source/sbx/sbxulng.cxx" line="174" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> These always have part like this: 491 ref: 492 aTmp.eType = SbxDataType( p->eType & 0x0FFF ); 493 p = &aTmp; goto start; whereas the function is like this: sal_Int64 ImpGetInt64( const SbxValues* p ) <error file="rsc/source/rscpp/cpp5.c" line="643" id="uselessAssignmentPtrArg" severity="style" msg="Assignment of function parameter has no effect outside the function."/> This one is a bit different, we have this: c = cget(); whereas the function is declared like this: FILE_LOCAL int evalnum(int c) Julien -- View this message in context: http://nabble.documentfoundation.org/Cppcheck-uselessAssignmentPtrArg-in-wrapper-cxx-sdext-module-tp4055514p4055516.html Sent from the Dev mailing list archive at Nabble.com.