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:
@@ -318,7 +318,7 @@ status_t BMailProtocolConfigView::Archive(BMessage *into, bool) const {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void BMailProtocolConfigView::GetPreferredSize(float *width, float *height) {
|
void BMailProtocolConfigView::GetPreferredSize(float *width, float *height) {
|
||||||
float minWidth;
|
float minWidth = 250;
|
||||||
if (BView *view = FindView("delete_remote_when_local")) {
|
if (BView *view = FindView("delete_remote_when_local")) {
|
||||||
float ignore;
|
float ignore;
|
||||||
view->GetPreferredSize(&minWidth,&ignore);
|
view->GetPreferredSize(&minWidth,&ignore);
|
||||||
|
|||||||
Reference in New Issue
Block a user