Fix typo spotted by Clang. Resolves ticket #6253.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37358 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -396,7 +396,7 @@ template<class Type>
|
|||||||
int32
|
int32
|
||||||
AttributeStreamConstValue<Type>::Find(const char *name, uint32 type) const
|
AttributeStreamConstValue<Type>::Find(const char *name, uint32 type) const
|
||||||
{
|
{
|
||||||
if (strcmp(fAttr.Name(), name) == 0 && type = fAttr.Type())
|
if (strcmp(fAttr.Name(), name) == 0 && type == fAttr.Type())
|
||||||
return 0;
|
return 0;
|
||||||
|
|
||||||
return -1;
|
return -1;
|
||||||
|
|||||||
Reference in New Issue
Block a user