removed ASSERT

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@3437 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
beveloper 2003-06-06 01:19:22 +00:00
parent eee5628778
commit 908eaf852b

View File

@ -1976,7 +1976,11 @@ BMediaRosterEx::InstantiateDormantNode(media_addon_id addonid, int32 flavorid, t
return B_ERROR;
}
ASSERT(node_info.internal_id == flavorid);
//ASSERT(node_info.internal_id == flavorid);
if (node_info.internal_id != flavorid) {
FATAL("BMediaRosterEx::InstantiateDormantNode failed: ID mismatch for addon-id %ld, flavor-id %ld, node_info.internal_id %ld, node_info.name %s\n", addonid, flavorid, node_info.internal_id, node_info.name);
return B_ERROR;
}
// load the BMediaAddOn object
BMediaAddOn *addon;