From 2fe6c00ceb38dc426bfdaaa3eace9b02bec58f61 Mon Sep 17 00:00:00 2001 From: Josef Reidinger Date: Thu, 10 Apr 2008 15:08:13 +0000 Subject: [PATCH] name attribute moved to solvAttr --- zypp/PoolQuery.cc | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/zypp/PoolQuery.cc b/zypp/PoolQuery.cc index ef30635..c3cc223 100644 --- a/zypp/PoolQuery.cc +++ b/zypp/PoolQuery.cc @@ -868,7 +868,6 @@ attremptycheckend: static const PoolQueryAttr noAttr; // own attributes - static const PoolQueryAttr nameAttr; static const PoolQueryAttr repoAttr; static const PoolQueryAttr kindAttr; @@ -920,12 +919,7 @@ attremptycheckend: PoolQueryAttr attribute( atrName ); - if ( attribute==PoolQueryAttr::nameAttr) - { - //setName...maybe some regex test - break; - } - else if ( attribute==PoolQueryAttr::repoAttr ) + if ( attribute==PoolQueryAttr::repoAttr ) { addRepo( atrValue ); } -- 2.7.4