CID 49: Dead code (as B_MEDIA_FIRST_USER_TYPE > B_MEDIA_PRIVATE)

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38038 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues 2010-08-12 11:26:25 +00:00
parent ff617a11dd
commit e05f4ded2d

View File

@ -164,10 +164,10 @@ BString MediaString::getStringFor(
case B_MEDIA_ENCODED_AUDIO: return "Encoded audio";
case B_MEDIA_ENCODED_VIDEO: return "Encoded video";
default: {
if (type >= B_MEDIA_PRIVATE)
return "Private Be media type";
if (type >= B_MEDIA_FIRST_USER_TYPE)
return "User-defined media type";
if (type >= B_MEDIA_PRIVATE)
return "Private Be media type";
}
}
return "Unknown Media Type";