commit:     b0ff95eb37ec53fb8239f14ccbde762ed3183763
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 16 17:38:05 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 17:38:05 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=b0ff95eb

[eclass] Remove useless sanity check.

Since the calling functions will always pass at least "" the check will never
be hit.

If proper arguments aren't supplied it will result in an invalid atom so it
will still be caught by repoman.

---
 eclass/kde5-functions.eclass | 2 --
 1 file changed, 2 deletions(-)

diff --git a/eclass/kde5-functions.eclass b/eclass/kde5-functions.eclass
index 360a9ff..8eae78f 100644
--- a/eclass/kde5-functions.eclass
+++ b/eclass/kde5-functions.eclass
@@ -93,8 +93,6 @@ _add_kdecategory_dep() {
                version=${PV}
        fi
 
-       [[ -z ${1} ]] && die "Missing parameter"
-
        if [[ -n ${use} ]] ; then
                usedep="[${use}]"
        fi

Reply via email to