Ticket #5102: libs_libmythtv_dsmcc.cpp-removed-unused-assignment.patch

File libs_libmythtv_dsmcc.cpp-removed-unused-assignment.patch, 790 bytes (added by Erik Hovland <erik@…>, 12 years ago)

remove unneeded assignment

  • libs/libmythtv/dsmcc.cpp

    An assignment in Dsmcc::ProcessSection() is never used. Remove to
    
    From: Erik Hovland <erik@hovland.org>
    
    reduce confusion.
    ---
    
     libs/libmythtv/dsmcc.cpp |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/libs/libmythtv/dsmcc.cpp b/libs/libmythtv/dsmcc.cpp
    index 4386f31..fdad68c 100644
    a b void Dsmcc::ProcessSection(const unsigned char *data, int length, 
    414414        // We haven't seen this stream before but it has the correct
    415415        // data_broadcast_id. Create a carousel for it.
    416416        // This will only happen at start-up
    417         car = AddTap(componentTag, carouselId);
     417        AddTap(componentTag, carouselId);
    418418        m_startTag = componentTag;
    419419        found = true;
    420420    }