registrar: Add missing initialization of error.
Spotted by korli.
This commit is contained in:
parent
46511867cc
commit
32f97c7c1e
@ -681,7 +681,7 @@ TRoster::HandleGetAppInfo(BMessage* request)
|
||||
|
||||
// get the info
|
||||
RosterAppInfo* info = NULL;
|
||||
status_t error;
|
||||
status_t error = B_OK;
|
||||
if (hasTeam) {
|
||||
info = fRegisteredApps.InfoFor(team);
|
||||
if (info == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user