From 8066fbc76694a099197153a83022c9e784decdcd Mon Sep 17 00:00:00 2001 From: Clemens Zeidler Date: Wed, 23 Mar 2011 21:28:14 +0000 Subject: [PATCH] Remove semi unused variable. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41094 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/support/String.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/kits/support/String.cpp b/src/kits/support/String.cpp index e17c17cc34..f35b8a7a29 100644 --- a/src/kits/support/String.cpp +++ b/src/kits/support/String.cpp @@ -1963,8 +1963,7 @@ BString::CharacterDeescape(char escapeChar) BString& BString::Trim() { - size_t originalLength = Length(); - if (originalLength <= 0) + if (Length() <= 0) return *this; const char* string = String();