Fixed #5005 (false positive: (warning) Assignment of function parameter has no effect outside the function.)