Ticket #5103: libs_libmythtv_dsmccbiop.h-init-m_binding_type.patch

File libs_libmythtv_dsmccbiop.h-init-m_binding_type.patch, 618 bytes (added by Erik Hovland <erik@…>, 12 years ago)

init m_binding_type

  • libs/libmythtv/dsmccbiop.h

    m_binding_type is not initialized in the constructor.
    
    From: Erik Hovland <erik@hovland.org>
    
    
    ---
    
     libs/libmythtv/dsmccbiop.h |    2 +-
     1 files changed, 1 insertions(+), 1 deletions(-)
    
    diff --git a/libs/libmythtv/dsmccbiop.h b/libs/libmythtv/dsmccbiop.h
    index 25b15b4..7379b50 100644
    a b class BiopIor 
    154154class BiopBinding
    155155{
    156156  public:
    157     BiopBinding() : m_objinfo_len(0), m_objinfo(0) {}
     157    BiopBinding() : m_binding_type(0), m_objinfo_len(0), m_objinfo(0) {}
    158158    ~BiopBinding();
    159159
    160160    int Process(const unsigned char *data);