]> git.proxmox.com Git - mirror_qemu.git/commitdiff
configure: remove some dead cruft
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 28 Sep 2023 10:07:23 +0000 (12:07 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 18 Oct 2023 08:01:02 +0000 (10:01 +0200)
print_error is only invoked in one place, and $git is unused.

Reviewed-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
configure

index 5c1d618f102eed25046cfa09d69b39b4a8e2814d..0994f54530c8e0319f49e5274747c59f31d39bde 100755 (executable)
--- a/configure
+++ b/configure
@@ -94,7 +94,7 @@ quote_sh() {
     printf "%s" "$1" | sed "s,','\\\\'',g; s,.*,'&',"
 }
 
-print_error() {
+error_exit() {
     (echo
     echo "ERROR: $1"
     while test -n "$2"; do
@@ -102,10 +102,6 @@ print_error() {
         shift
     done
     echo) >&2
-}
-
-error_exit() {
-    print_error "$@"
     exit 1
 }
 
@@ -248,7 +244,6 @@ done
 
 default_cflags='-O2 -g'
 git_submodules_action="update"
-git="git"
 docs="auto"
 EXESUF=""
 prefix="/usr/local"