Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#11583 closed Patch - Bug Fix (fixed)

Patch for dead assignment in lirc_client.cpp - fixes coverity 1025913

Reported by: Gary Buhrmaster <gary.buhrmaster@…> Owned by: dekarl
Priority: minor Milestone: 0.27
Component: MythTV - User Interface Library Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

Static analysis (coverity) identified a (low priority) dead assignment of the pointer end (if the condition is true, the routine returns; if not, the loop condition check reassigns the pointer value). Remove the assignment to make static analysis happy.

Fixes coverity 1025913.

Patch: https://github.com/garybuhrmaster/mythtv/commit/72ffacaccd0c6a88498231b24accde37646051db

Change History (2)

comment:1 Changed 5 years ago by Gary Buhrmaster <gary.buhrmaster@…>

Resolution: fixed
Status: newclosed

In ce7473d4b39e76aa45e89a9de4956658cbd123db/mythtv:

Patch for dead assignment

Static analysis (coverity) identified a dead assignment
of the variable end. Remove the assignment to make
static analysis happy.

Fixes coverity 1025913.
Fixes #11583

comment:2 Changed 5 years ago by dekarl

Milestone: unknown0.27
Owner: changed from stuartm to dekarl
Type: Bug Report - GeneralPatch - Bug Fix
Note: See TracTickets for help on using tickets.