Network: fixed uninitialized members.
* CIDs 1251073, 1292681, 1292686, and 1292687 -- all irrelevant, though.
This commit is contained in:
@@ -35,7 +35,12 @@
|
||||
InterfaceListItem::InterfaceListItem(const char* name)
|
||||
:
|
||||
BListItem(0, false),
|
||||
fIcon(NULL)
|
||||
fIcon(NULL),
|
||||
fFirstLineOffset(0),
|
||||
fLineOffset(0),
|
||||
fDisabled(false),
|
||||
fHasLink(false),
|
||||
fConnecting(false)
|
||||
{
|
||||
fInterface.SetTo(name);
|
||||
_Init();
|
||||
|
||||
@@ -43,7 +43,8 @@ static const uint32 kMsgJoinNetwork = 'join';
|
||||
|
||||
InterfaceView::InterfaceView()
|
||||
:
|
||||
BGroupView(B_VERTICAL)
|
||||
BGroupView(B_VERTICAL),
|
||||
fPulseCount(0)
|
||||
{
|
||||
SetFlags(Flags() | B_PULSE_NEEDED);
|
||||
|
||||
|
||||
@@ -108,7 +108,10 @@ BNetworkInterfaceListItem::BNetworkInterfaceListItem(int family,
|
||||
fSettings(settings),
|
||||
fFamily(family),
|
||||
fInterface(interface),
|
||||
fLabel(label)
|
||||
fLabel(label),
|
||||
fDisabled(false),
|
||||
fLineOffset(0),
|
||||
fSpacing(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
@@ -27,6 +27,8 @@ ServiceListItem::ServiceListItem(const char* name, const char* label,
|
||||
fName(name),
|
||||
fLabel(label),
|
||||
fSettings(settings),
|
||||
fOwner(NULL),
|
||||
fLineOffset(0),
|
||||
fEnabled(false)
|
||||
{
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user