Ticket #5646: programs_mythbackend-dead-code.patch

File programs_mythbackend-dead-code.patch, 643 bytes (added by Erik Hovland <erik@…>, 12 years ago)

Adds an increment instruction for nCounts so GetKeys? keeps working

  • 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 |    1 +
     1 files changed, 1 insertions(+), 0 deletions(-)
    
    diff --git a/mythtv/programs/mythbackend/mythxml.cpp b/mythtv/programs/mythbackend/mythxml.cpp
    index 271d730..65dbe3a 100644
    a b void MythXML::GetKeys( HTTPRequest *pRequest ) 
    316316        os << "<Key>"
    317317           << HTTPRequest::Encode( query.value(0).toString() )
    318318           << "</Key>";
     319        nCount++;
    319320    }
    320321    os << flush;
    321322