From fc7c01a114a88c5170a86dde80f2beca74b9c357 Mon Sep 17 00:00:00 2001 From: Rene Gollent Date: Fri, 2 Jul 2010 19:48:13 +0000 Subject: [PATCH] Fix typo spotted by Clang. Resolves ticket #6253. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37358 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/tracker/AttributeStream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/tracker/AttributeStream.h b/src/kits/tracker/AttributeStream.h index 318ff3d112..1c31a851c4 100644 --- a/src/kits/tracker/AttributeStream.h +++ b/src/kits/tracker/AttributeStream.h @@ -396,7 +396,7 @@ template int32 AttributeStreamConstValue::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 -1;