Opened 15 years ago

Closed 14 years ago

#7063 closed defect (fixed)

Use (void) casting to suppress warnings in libmyth

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

Description

A function sets a couple of function parameters to zero. That means that they were set but not used. Most likely the more appropriate keyword would be a (void) cast.

Attachments (4)

libs_libmyth-use-void (661 bytes) - added by Erik Hovland <erik@…> 15 years ago.
Use (void) casting instead of assignment.
libs_libmythtv-use-void (665 bytes) - added by Erik Hovland <erik@…> 15 years ago.
Same idea of using (void) casting, except the library is libmythtv
libs_libmyth-use-void-ticket-7063 (661 bytes) - added by Erik Hovland <erik@…> 14 years ago.
Same patch as before but against trunk as of 2010-02-03
libs_libmythtv-use-void-ticket-7063 (665 bytes) - added by Erik Hovland <erik@…> 14 years ago.
Same patch as before but against trunk as of 2010-02-03

Download all attachments as: .zip

Change History (5)

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

Attachment: libs_libmyth-use-void added

Use (void) casting instead of assignment.

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

Attachment: libs_libmythtv-use-void added

Same idea of using (void) casting, except the library is libmythtv

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

Same patch as before but against trunk as of 2010-02-03

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

Same patch as before but against trunk as of 2010-02-03

comment:1 Changed 14 years ago by danielk

Resolution: fixed
Status: newclosed

(In [24830]) Fixes #7063. Dead-code removal.

Note: See TracTickets for help on using tickets.