Fix warning.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37591 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini 2010-07-19 12:38:49 +00:00
parent 8a5b57ee47
commit 6718659e48

View File

@ -211,7 +211,7 @@ TRoster::HandleAddApplication(BMessage* request)
RosterAppInfo* info = NULL; RosterAppInfo* info = NULL;
if ((launchFlags == B_SINGLE_LAUNCH if ((launchFlags == B_SINGLE_LAUNCH
|| launchFlags == B_EXCLUSIVE_LAUNCH) || launchFlags == B_EXCLUSIVE_LAUNCH)
&& ((info = info = fRegisteredApps.InfoFor(&ref)) != NULL && ((info = fRegisteredApps.InfoFor(&ref)) != NULL
|| (info = fEarlyPreRegisteredApps.InfoFor(&ref)) != NULL)) { || (info = fEarlyPreRegisteredApps.InfoFor(&ref)) != NULL)) {
SET_ERROR(error, B_ALREADY_RUNNING); SET_ERROR(error, B_ALREADY_RUNNING);
otherTeam = info->team; otherTeam = info->team;