ros / rospack

A command-line tool for retrieving information about ROS packages available on the filesystem
15 stars 65 forks source link

Coverity - code unreachable #102

Closed danielwangksu closed 5 years ago

danielwangksu commented 5 years ago

Event unreachable: Since the loop increment "el = el->NextSiblingElement..." is unreachable, the loop body will never execute more than once. https://github.com/ros/rospack/blob/3358d21fbeb5355a459e94354c2aa95e0a376e57/src/rospack.cpp#L182

dirk-thomas commented 5 years ago

Please consider to provide a pull request for this.