minWidth could be used uninitialized. CID 1150
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27725 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
e7d2f0f0e8
commit
97c7b4da99
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user