[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: extragear/sysadmin/libqapt/src
From: Jonathan Michael Thomas <echidnaman () kubuntu ! org>
Date: 2011-01-06 18:19:32
Message-ID: 20110106181932.F37A1AC8B0 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1212371 by jmthomas:
Constructing a QLatin1String with a null const char pointer will yield an empty \
QString anyways, so there's really no reason to check.
M +0 -4 package.cpp
--- trunk/extragear/sysadmin/libqapt/src/package.cpp #1212370:1212371
@@ -388,10 +388,6 @@
const pkgCache::VerIterator &Ver = State.CandidateVerIter(*d->depCache);
const pkgCache::PkgFileIterator &File = Ver.FileList().File();
- if(!File.Component()) {
- return QString();
- }
-
return QLatin1String(File.Component());
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic