BDeskbar: Set auto hide default value to false

Didn't notice this before so had to do a quick fix. Catch it before
Coverity can.
This commit is contained in:
John Scipione
2017-11-27 11:50:15 -08:00
parent fd236f33cd
commit 4824497d01
+1 -1
View File
@@ -228,7 +228,7 @@ BDeskbar::IsAutoHide() const
{
BMessage request(kMsgIsAutoHide);
BMessage reply;
bool isAutoHidden;
bool isAutoHidden = false;
if (fMessenger->SendMessage(&request, &reply) == B_OK)
reply.FindBool("auto hide", &isAutoHidden);