Opened 12 years ago

Closed 12 years ago

#4424 closed defect (fixed)

Ambiguous code in uitypes.cpp (UIManagedTreeListType::tryToSetActive)

Reported by: andrei@… Owned by: danielk
Priority: trivial Milestone: 0.21
Component: mythtv Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

I am not sure what the intended meaning was, but pointer to a function parameter passed by value is always not NULL. I get:

uitypes.cpp:3926: warning: the address of 'route' will always evaluate as 'true'

Change History (2)

comment:1 Changed 12 years ago by danielk

Owner: changed from Isaac Richards to danielk
Priority: minortrivial
Severity: mediumlow
Status: newassigned

comment:2 Changed 12 years ago by danielk

Resolution: fixed
Status: assignedclosed

(In [15788]) Fixes #4424. Dead code removal, to eliminate compiler complaint.

Note: See TracTickets for help on using tickets.