summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-09-10 10:47:47 -0700
committerZac Medico <zmedico@gentoo.org>2010-09-10 10:47:47 -0700
commitd49ecfb70a4dc01e8abb52ec48cc90ee6c816ace (patch)
tree6c650f5943cd738ea65cdd2424b1bab74a031df6
parent20c87af26f0ad628befc8feaa9cd196c9d416aef (diff)
downloadportage-d49ecfb70a4dc01e8abb52ec48cc90ee6c816ace.tar.gz
portage-d49ecfb70a4dc01e8abb52ec48cc90ee6c816ace.tar.bz2
portage-d49ecfb70a4dc01e8abb52ec48cc90ee6c816ace.zip
Remove redundant local retval declaration in has_version().
-rwxr-xr-xbin/ebuild.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/bin/ebuild.sh b/bin/ebuild.sh
index a742eae62..325d3c209 100755
--- a/bin/ebuild.sh
+++ b/bin/ebuild.sh
@@ -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