[haiku-commits] r41094 - haiku/trunk/src/kits/support

  • From: clemens.zeidler@xxxxxxxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 23 Mar 2011 22:28:14 +0100 (CET)

Author: czeidler
Date: 2011-03-23 22:28:14 +0100 (Wed, 23 Mar 2011)
New Revision: 41094
Changeset: https://dev.haiku-os.org/changeset/41094

Modified:
   haiku/trunk/src/kits/support/String.cpp
Log:
Remove semi unused variable.



Modified: haiku/trunk/src/kits/support/String.cpp
===================================================================
--- haiku/trunk/src/kits/support/String.cpp     2011-03-23 21:22:42 UTC (rev 
41093)
+++ haiku/trunk/src/kits/support/String.cpp     2011-03-23 21:28:14 UTC (rev 
41094)
@@ -1963,8 +1963,7 @@
 BString&
 BString::Trim()
 {
-       size_t originalLength = Length();
-       if (originalLength <= 0)
+       if (Length() <= 0)
                return *this;
 
        const char* string = String();


Other related posts:

  • » [haiku-commits] r41094 - haiku/trunk/src/kits/support - clemens . zeidler