Ticket #5702: mythvideo-unreachable.patch

File mythvideo-unreachable.patch, 741 bytes (added by Erik Hovland <erik@…>, 17 years ago)

changes the order of the two lines in usesDevice

  • mythplugins/mythvideo/mtd/jobthread.h

    device unuse warning suppression could be first. If it is
    
    From: Erik Hovland <erik@hovland.org>
    
    then it suppresses an unreachable defect.
    ---
    
     mythplugins/mythvideo/mtd/jobthread.h |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/mythplugins/mythvideo/mtd/jobthread.h b/mythplugins/mythvideo/mtd/jobthread.h
    index 9cca60f..9e62b7d 100644
    a b class JobThread : public QThread  
    5050    void    sendLoggingEvent(const QString &event_string);
    5151
    5252    virtual bool usesDevice(const QString &device)
    53                  { return false; (void)device; }
     53                 { (void)device; return false; }
    5454   
    5555  protected:
    5656