From 97c7b4da996b868b9b513d2b8325de8e30ca5c8c Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Thu, 25 Sep 2008 07:31:48 +0000 Subject: [PATCH] minWidth could be used uninitialized. CID 1150 git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27725 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/mail/ProtocolConfigView.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/mail/ProtocolConfigView.cpp b/src/kits/mail/ProtocolConfigView.cpp index 26960f2395..e1c564f7e1 100644 --- a/src/kits/mail/ProtocolConfigView.cpp +++ b/src/kits/mail/ProtocolConfigView.cpp @@ -318,7 +318,7 @@ status_t BMailProtocolConfigView::Archive(BMessage *into, bool) const { } void BMailProtocolConfigView::GetPreferredSize(float *width, float *height) { - float minWidth; + float minWidth = 250; if (BView *view = FindView("delete_remote_when_local")) { float ignore; view->GetPreferredSize(&minWidth,&ignore);