[haiku-commits] r37358 - haiku/trunk/src/kits/tracker

  • From: anevilyak@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Fri, 2 Jul 2010 21:48:13 +0200 (CEST)

Author: anevilyak
Date: 2010-07-02 21:48:13 +0200 (Fri, 02 Jul 2010)
New Revision: 37358
Changeset: http://dev.haiku-os.org/changeset/37358/haiku
Ticket: http://dev.haiku-os.org/ticket/6253

Modified:
   haiku/trunk/src/kits/tracker/AttributeStream.h
Log:
Fix typo spotted by Clang. Resolves ticket #6253.



Modified: haiku/trunk/src/kits/tracker/AttributeStream.h
===================================================================
--- haiku/trunk/src/kits/tracker/AttributeStream.h      2010-07-02 19:07:08 UTC 
(rev 37357)
+++ haiku/trunk/src/kits/tracker/AttributeStream.h      2010-07-02 19:48:13 UTC 
(rev 37358)
@@ -396,7 +396,7 @@
 int32 
 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 -1;


Other related posts:

  • » [haiku-commits] r37358 - haiku/trunk/src/kits/tracker - anevilyak