Module: libav
Branch: master
Commit: e4015b00d4e9e40dc1693a018edd51bf7a04993e

Author:    Martin Storsjö <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Mon Jul 27 09:40:28 2015 +0300

configure: Simplify, remove an unnecessary intermediate variable

Signed-off-by: Martin Storsjö <[email protected]>

---

 configure |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/configure b/configure
index 66edc14..5645936 100755
--- a/configure
+++ b/configure
@@ -4693,8 +4693,7 @@ EOF
 fi
 
 for pfx in "" host_; do
-    pfx_no_=${pfx%_}
-    varname=${pfx_no_}cc_type
+    varname=${pfx%_}cc_type
     eval "type=\$$varname"
     if [ $type = "msvc" ]; then
         check_${pfx}cc <<EOF || add_${pfx}cflags -Dinline=__inline

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to