Issue Details (XML | Word | Printable)

Key: PCC-410
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Anders Magnusson
Reporter: Martin Ettl
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.

unused variable found pcc/arch/nova/local.c

Created: 17/Sep/12 09:43 AM   Updated: 19/Sep/12 07:10 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

 Description  « Hide
During a code review, if found an unused variable in pcc/arch/nova/local.c

myp2tree(NODE *p)
struct symtab *sp;
int o = p->n_op, i; /* <-- Variable i is unused and can be removed!

Best regards and many thanks

Martin Ettl

 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Anders Magnusson added a comment - 19/Sep/12 07:10 PM
Fixed. Hm, I didn't think anyone looked at those strange targets :-)