Set fSeparatorItem NULL initially fixing #9151 on gcc4

This commit is contained in:
John Scipione 2012-11-15 19:39:04 -05:00
parent c6bc755d6c
commit 6c54ebe5d5

View File

@ -56,7 +56,8 @@ const float kSepItemWidth = 5.0f;
TBarMenuBar::TBarMenuBar(TBarView* bar, BRect frame, const char* name)
: BMenuBar(frame, name, B_FOLLOW_NONE, B_ITEMS_IN_ROW, false),
fBarView(bar),
fAppListMenuItem(NULL)
fAppListMenuItem(NULL),
fSeparatorItem(NULL)
{
SetItemMargins(0.0f, 0.0f, 0.0f, 0.0f);