Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 10 months ago

Closed 10 months ago

Last modified 10 months 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

Attachments (0)

Change History (2)

comment:1 Changed 10 months ago by Gary Buhrmaster <gary.buhrmaster@…>

  • Resolution set to fixed
  • Status changed from new to closed

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 10 months ago by dekarl

  • Milestone changed from unknown to 0.27
  • Owner changed from stuartm to dekarl
  • Type changed from Bug Report - General to Patch - Bug Fix

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.