don't try to archive BHandler::fName when it is null
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25092 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
f4103e2b13
commit
157c0ced17
@ -178,6 +178,8 @@ BHandler::Archive(BMessage *data, bool deep) const
|
||||
if (status < B_OK)
|
||||
return status;
|
||||
|
||||
if (!fName)
|
||||
return B_OK;
|
||||
return data->AddString(kArchiveNameField, fName);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user