Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#4323 closed patch (fixed)

Uninitialized variable in mythmedia.cpp — at Version 2

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++)

Change History (3)

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

Attachment: uninit.patch added

comment:1 Changed 16 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 16 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.