Opened 11 years ago

Closed 11 years ago

Last modified 11 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: Karl Egly
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 11 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 11 years ago by Karl Egly

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