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:
@@ -251,7 +251,7 @@ status_t
|
||||
read_mime_attr_string(const char *type, const char *attr, BString *str)
|
||||
{
|
||||
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)
|
||||
err = open_type(type, &node);
|
||||
if (!err)
|
||||
|
||||
Reference in New Issue
Block a user