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)
|
InterfaceListItem::InterfaceListItem(const char* name)
|
||||||
:
|
:
|
||||||
BListItem(0, false),
|
BListItem(0, false),
|
||||||
fIcon(NULL)
|
fIcon(NULL),
|
||||||
|
fFirstLineOffset(0),
|
||||||
|
fLineOffset(0),
|
||||||
|
fDisabled(false),
|
||||||
|
fHasLink(false),
|
||||||
|
fConnecting(false)
|
||||||
{
|
{
|
||||||
fInterface.SetTo(name);
|
fInterface.SetTo(name);
|
||||||
_Init();
|
_Init();
|
||||||
|
|||||||
@@ -43,7 +43,8 @@ static const uint32 kMsgJoinNetwork = 'join';
|
|||||||
|
|
||||||
InterfaceView::InterfaceView()
|
InterfaceView::InterfaceView()
|
||||||
:
|
:
|
||||||
BGroupView(B_VERTICAL)
|
BGroupView(B_VERTICAL),
|
||||||
|
fPulseCount(0)
|
||||||
{
|
{
|
||||||
SetFlags(Flags() | B_PULSE_NEEDED);
|
SetFlags(Flags() | B_PULSE_NEEDED);
|
||||||
|
|
||||||
|
|||||||
@@ -108,7 +108,10 @@ BNetworkInterfaceListItem::BNetworkInterfaceListItem(int family,
|
|||||||
fSettings(settings),
|
fSettings(settings),
|
||||||
fFamily(family),
|
fFamily(family),
|
||||||
fInterface(interface),
|
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),
|
fName(name),
|
||||||
fLabel(label),
|
fLabel(label),
|
||||||
fSettings(settings),
|
fSettings(settings),
|
||||||
|
fOwner(NULL),
|
||||||
|
fLineOffset(0),
|
||||||
fEnabled(false)
|
fEnabled(false)
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user