Removed duplicated status variable, which would've caused the wrong value to be returned

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15506 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2005-12-11 21:55:15 +00:00
parent bff84e78b7
commit 56f2fa945f

View File

@ -295,7 +295,6 @@ BDirectWindow::SetFullScreen(bool enable)
fLink->StartMessage(AS_DIRECT_WINDOW_SET_FULLSCREEN);
fLink->Attach<bool>(enable);
status_t status = B_ERROR;
if (fLink->FlushWithReply(status) == B_OK
&& status == B_OK)
full_screen_enable = enable;