Attempts to fix defects associated to member
From: Erik Hovland <erik@hovland.org>
variable initialization in the ctors of classes.
---
mythtv/libs/libmythupnp/eventing.cpp | 10 +++++++---
1 files changed, 7 insertions(+), 3 deletions(-)
diff --git a/mythtv/libs/libmythupnp/eventing.cpp b/mythtv/libs/libmythupnp/eventing.cpp
index 300640c..ece91ab 100644
a
|
b
|
uint StateVariables::BuildNotifyBody( |
54 | 54 | // |
55 | 55 | ///////////////////////////////////////////////////////////////////////////// |
56 | 56 | |
57 | | Eventing::Eventing( const QString &sExtensionName, const QString &sEventMethodName ) : HttpServerExtension( sExtensionName ) |
| 57 | Eventing::Eventing( const QString &sExtensionName, |
| 58 | const QString &sEventMethodName ) |
| 59 | : HttpServerExtension( sExtensionName ), |
| 60 | m_sEventMethodName( sEventMethodName ), m_nHoldCount( 0 ), |
| 61 | m_pInitializeSubscriber( NULL ) |
58 | 62 | { |
59 | | m_sEventMethodName = sEventMethodName; |
60 | | m_nSubscriptionDuration = UPnp::g_pConfig->GetValue( "UPnP/SubscriptionDuration", 1800 ); |
| 63 | m_nSubscriptionDuration = |
| 64 | UPnp::g_pConfig->GetValue( "UPnP/SubscriptionDuration", 1800 ); |
61 | 65 | } |
62 | 66 | |
63 | 67 | ///////////////////////////////////////////////////////////////////////////// |