gcc3 cleanup & fix stupid mistake

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3617 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
shadow303 2003-06-23 02:48:28 +00:00
parent ce5a2573d3
commit c27b0019d6
2 changed files with 3 additions and 4 deletions

View File

@ -221,7 +221,7 @@ bool BClipboard::AssertLocked() const
return fLock.IsLocked();
}
//------------------------------------------------------------------------------
status_t BClipboard::DownloadFromSystem(bool force=false)
status_t BClipboard::DownloadFromSystem(bool force)
{
/* What does force mean? */
BMessage message(B_REG_DOWNLOAD_CLIPBOARD), reply;

View File

@ -51,8 +51,7 @@ BCursor::BCursor(const void *cursorData)
{
int8 *data = (int8 *)cursorData;
m_serverToken = 0;
if ( sizeof(cursorData) < 68 )
return;
if ( data[0] != 16 )
return;
if ( data[1] != 1 )
@ -89,7 +88,7 @@ BCursor::~BCursor()
}
//------------------------------------------------------------------------------
// not implemented on BeOS
status_t BCursor::Archive(BMessage *into, bool deep = true) const
status_t BCursor::Archive(BMessage *into, bool deep) const
{
return B_OK;
}