Opened 8 years ago

Closed 8 years ago

#10477 closed Patch - Bug Fix (fixed)

Return pointer, not bool in httplivestream.cpp

Reported by: Gary Buhrmaster <gary.buhrmaster@…> Owned by:
Priority: minor Milestone: 0.25
Component: MythTV - General Version: Unspecified
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Return a pointer (NULL) not a bool (false) to eliminate warning message (detected by clang) in mythtv/libs/libmythtv/httplivestream.cpp due to mismatched types.

Patch attached.

Attachments (1)

httplivestream_cpp.diff (551 bytes) - added by Gary Buhrmaster <gary.buhrmaster@…> 8 years ago.

Download all attachments as: .zip

Change History (2)

Changed 8 years ago by Gary Buhrmaster <gary.buhrmaster@…>

Attachment: httplivestream_cpp.diff added

comment:1 Changed 8 years ago by Github

Milestone: unknown0.25
Resolution: fixed
Status: newclosed

Fix type on return value in HTTPLiveStream::StopStream?()

HTTPLiveStream::StopStream?() should return a NULL pointer, not false in an error condition. This one must have slipped by earlier.

Fixes #10477 using patch by Gary Buhrmaster.

Branch: master Changeset: efdba7ec216f80049f7b939053433c95c752d5bb

Note: See TracTickets for help on using tickets.