Opened 11 years ago

Closed 11 years ago

#5568 closed defect (fixed)

mythnews has a function that hides a parameter

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

Description

The declaration of item hides the function parameter item from the clause.

Attachments (1)

mythnews-defects.patch (1.1 KB) - added by Erik Hovland <erik@…> 11 years ago.
changes item to newItem in the for loop.

Download all attachments as: .zip

Change History (2)

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

Attachment: mythnews-defects.patch added

changes item to newItem in the for loop.

comment:1 Changed 11 years ago by paulh

Resolution: fixed
Status: newclosed

(In [18197]) Change the name of a variable so it doesn't clash with a function parameter of the same name. Spotted by Erik Hovland. Fixes #5568.

Note: See TracTickets for help on using tickets.