Fix use of uninitialized variable
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3956 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -773,7 +773,8 @@ BHandler* BLooper::ResolveSpecifier(BMessage* msg, int32 index,
|
||||
//------------------------------------------------------------------------------
|
||||
status_t BLooper::GetSupportedSuites(BMessage* data)
|
||||
{
|
||||
status_t err;
|
||||
status_t err = B_OK;
|
||||
|
||||
if (!data)
|
||||
{
|
||||
err = B_BAD_VALUE;
|
||||
|
||||
Reference in New Issue
Block a user