Ticket #5690: programs_mythbackend-dead-code.patch

File programs_mythbackend-dead-code.patch, 1.1 KB (added by Erik Hovland <erik@…>, 16 years ago)

removes dead code

  • mythtv/programs/mythbackend/mythxml.cpp

    Deals with dead code defects in the mythbackend code
    
    From: Erik Hovland <erik@hovland.org>
    
    
    ---
    
     mythtv/programs/mythbackend/mythxml.cpp |    7 -------
     1 files changed, 0 insertions(+), 7 deletions(-)
    
    diff --git a/mythtv/programs/mythbackend/mythxml.cpp b/mythtv/programs/mythbackend/mythxml.cpp
    index d55c2ba..0108bf7 100644
    a b void MythXML::GetChannelIcon( HTTPRequest *pRequest ) 
    824824
    825825void MythXML::GetVideoArt( HTTPRequest *pRequest )
    826826{
    827     bool bDefaultPixmap = false;
    828 
    829827    pRequest->m_eResponseType   = ResponseTypeFile;
    830828   
    831829    QString sId =  pRequest->m_mapParams[ "Id"  ];
    void MythXML::GetVideoArt( HTTPRequest *pRequest ) 
    859857
    860858    sFileName = query.value(0).toString();
    861859
    862     if (bDefaultPixmap)
    863     {
    864         return;
    865     }
    866 
    867860    // ----------------------------------------------------------------------
    868861    // check to see if albumart image is already created.
    869862    // ----------------------------------------------------------------------