Mailinglist Archive: yast-commit (819 mails)

< Previous Next >
[yast-commit] r54425 - /trunk/core/libycp/src/YCPBuiltinList.cc
  • From: aschnell@xxxxxxxxxxxxxxxx
  • Date: Wed, 07 Jan 2009 12:00:14 -0000
  • Message-id: <E1LKX55-00053P-0H@xxxxxxxxxxxxxxxx>
Author: aschnell
Date: Wed Jan 7 13:00:14 2009
New Revision: 54425

URL: http://svn.opensuse.org/viewcvs/yast?rev=54425&view=rev
Log:
- removed unneeded check

Modified:
trunk/core/libycp/src/YCPBuiltinList.cc

Modified: trunk/core/libycp/src/YCPBuiltinList.cc
URL:
http://svn.opensuse.org/viewcvs/yast/trunk/core/libycp/src/YCPBuiltinList.cc?rev=54425&r1=54424&r2=54425&view=diff
==============================================================================
--- trunk/core/libycp/src/YCPBuiltinList.cc (original)
+++ trunk/core/libycp/src/YCPBuiltinList.cc Wed Jan 7 13:00:14 2009
@@ -617,11 +617,6 @@
* @usage toset ([1, 5, 3, 2, 3, true, false, true]) -> [false, true, 1,
2, 3, 5]
*/

- if (list.isNull ())
- {
- return YCPNull ();
- }
-
set<YCPValue, ycpless> newset(list->begin(), list->end());

YCPList setlist;

--
To unsubscribe, e-mail: yast-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: yast-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages