ffmpeg | branch: master | Martin Storsjö <[email protected]> | Mon Jul 27 
09:40:28 2015 +0300| [e4015b00d4e9e40dc1693a018edd51bf7a04993e] | committer: 
Martin Storsjö

configure: Simplify, remove an unnecessary intermediate variable

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

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e4015b00d4e9e40dc1693a018edd51bf7a04993e
---

 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

_______________________________________________
ffmpeg-cvslog mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

Reply via email to