No reason for err to be an ssize_t in this function.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4233 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Tyler Dauwalder
2003-08-05 07:41:18 +00:00
parent 282644b3ec
commit 417b2882c9
+1 -1
View File
@@ -251,7 +251,7 @@ status_t
read_mime_attr_string(const char *type, const char *attr, BString *str) read_mime_attr_string(const char *type, const char *attr, BString *str)
{ {
BNode node; BNode node;
ssize_t err = (type && attr && str ? B_OK : B_BAD_VALUE); status_t err = (type && attr && str ? B_OK : B_BAD_VALUE);
if (!err) if (!err)
err = open_type(type, &node); err = open_type(type, &node);
if (!err) if (!err)