Opened 11 years ago

Closed 11 years ago

#5522 closed defect (fixed)

argpos increment is not reachable in mythfrontend

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

The -G command line argument code in main() has an increment of argpos. But the case will return no matter what happens with the parsing of the rest of its argument. So the code to increment argpos is really not necessary.

Attachments (1)

programs_mythfrontend_main.cpp-argpos-incr-unreachable.patch (1.1 KB) - added by Erik Hovland <erik@…> 11 years ago.
removes unreachable argpos increment

Download all attachments as: .zip

Change History (2)

Changed 11 years ago by Erik Hovland <erik@…>

removes unreachable argpos increment

comment:1 Changed 11 years ago by danielk

Resolution: fixed
Status: newclosed

The problem code no longer exists as of [17940].

Note: See TracTickets for help on using tickets.