ref: refs/heads/ma-misc
commit 85af00677934576a9f325ae05d68789c67a7b407
Author: Michael Andres
Date: Fri Sep 11 15:19:23 2009 +0200
Remove superfluous test.
---
zypp/base/String.h | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
diff --git a/zypp/base/String.h b/zypp/base/String.h
index 746ec8a..550760a 100644
--- a/zypp/base/String.h
+++ b/zypp/base/String.h
@@ -724,11 +724,7 @@ namespace zypp
/** \name Case insensitive comparison. */
//@{
inline int compareCI( const C_Str & lhs, const C_Str & rhs )
- {
- if ( lhs == rhs )
- return 0;
- return ::strcasecmp( lhs, rhs );
- }
+ { return ::strcasecmp( lhs, rhs ); }
//@}
/** \name Locate substring. */
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org