From e743f8460d7421a275ebec4646854f187ab41488 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Wed, 5 Nov 2014 14:09:47 +0100 Subject: [PATCH] CID 1251070: Use of uninitialized value --- src/preferences/network/NetworkSetupProfile.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/preferences/network/NetworkSetupProfile.cpp b/src/preferences/network/NetworkSetupProfile.cpp index 5e399fc63b..e2d7e1b7b1 100644 --- a/src/preferences/network/NetworkSetupProfile.cpp +++ b/src/preferences/network/NetworkSetupProfile.cpp @@ -22,6 +22,8 @@ NetworkSetupProfile::NetworkSetupProfile() NetworkSetupProfile::NetworkSetupProfile(const char* path) : + fRoot(NULL), + fPath(NULL), fIsCurrent(false), fIsDefault(false) { @@ -31,6 +33,8 @@ NetworkSetupProfile::NetworkSetupProfile(const char* path) NetworkSetupProfile::NetworkSetupProfile(const entry_ref* ref) : + fRoot(NULL), + fPath(NULL), fIsCurrent(false), fIsDefault(false) { @@ -40,6 +44,8 @@ NetworkSetupProfile::NetworkSetupProfile(const entry_ref* ref) NetworkSetupProfile::NetworkSetupProfile(BEntry* entry) : + fRoot(NULL), + fPath(NULL), fIsCurrent(false), fIsDefault(false) {