Remove redundant local retval declaration in has_version().
authorZac Medico <zmedico@gentoo.org>
Fri, 10 Sep 2010 17:47:47 +0000 (10:47 -0700)
committerZac Medico <zmedico@gentoo.org>
Fri, 10 Sep 2010 17:47:47 +0000 (10:47 -0700)
bin/ebuild.sh

index a742eae62fa107af3e678e4d733feffd217e4070..325d3c2090137cc537e9da1b998a57a9659de563 100755 (executable)
@@ -180,7 +180,6 @@ has_version() {
                die "portageq calls (has_version calls portageq) are not allowed in the global scope"
        fi
 
-       local retval
        if [[ -n $PORTAGE_IPC_DAEMON ]] ; then
                "$PORTAGE_BIN_PATH"/ebuild-ipc has_version "$ROOT" "$1"
        else