Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#4323 closed patch (fixed)

Uninitialized variable in mythmedia.cpp

Reported by: Mike Rice <mikerice1969@…> Owned by: Isaac Richards
Priority: minor Milestone: unknown
Component: mythtv Version: unknown
Severity: medium Keywords:
Cc: Ticket locked: no

Description (last modified by Janne Grunau)

mythmedia.cpp(194): warning #592: variable "key" is used before its value is set

for (uint key, j = 0; key != MEDIATYPE_END; j++)

Attachments (1)

uninit.patch (509 bytes) - added by Mike Rice <mikerice1969@…> 12 years ago.

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by Mike Rice <mikerice1969@…>

Attachment: uninit.patch added

comment:1 Changed 12 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [15155]) Init a var, silence a warning. Thanks Mike. Closes #4323. Interesting that an OS X build doesn't show the warning - Apple GCC V4.0.1 is one of the more pedantic ones!

comment:2 Changed 12 years ago by Janne Grunau

Description: modified (diff)

[15156] should have reference this ticket instead of #4324

Note: See TracTickets for help on using tickets.