Opened 12 years ago

Closed 12 years ago

#4845 closed defect (fixed)

useless assignment in src_simple()

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: minor Milestone: 0.22
Component: mythtv Version: 0.21-fixes
Severity: low Keywords:
Cc: Ticket locked: no

Description

src_simple in libs/libmythsamplerate/samplerate.c

Does this at the end of the call:

       src_state = src_delete (src_state) ;

We don't need to make an assignment of whatever src_delete returns because it is always null.

Attachments (1)

libs_libmythsamplerate_samplerate.c-remove-unnecessary-assignment.patch (689 bytes) - added by Erik Hovland <erik@…> 12 years ago.
removes assignment from src_delete since it is unnecessary

Download all attachments as: .zip

Change History (3)

Changed 12 years ago by Erik Hovland <erik@…>

removes assignment from src_delete since it is unnecessary

comment:1 Changed 12 years ago by Isaac Richards

Milestone: 0.210.22

comment:2 Changed 12 years ago by Nigel

Resolution: fixed
Status: newclosed

(In [16355]) Remove un-needed assignment. Patch by Erik Hovland, Closes #4845

Note: See TracTickets for help on using tickets.