traviscross / mtr

Official repository for mtr, a network diagnostic tool
http://www.bitwizard.nl/mtr/
GNU General Public License v2.0
2.64k stars 337 forks source link

Delete an unnecessary assignment statement from parse_arg() #458

Closed elfring closed 1 year ago

elfring commented 1 year ago

The source code analysis tool “Cppcheck 2.9-1.2” points the information “Variable 'opt' is assigned a value that is never used.” out. Thus the affected assignment statement can be deleted from the implementation of the function “parse_arg”.

rewolff commented 1 year ago

committed. (in my private copy: you won't see it yet. It will be pushed eventually).