[FFmpeg-cvslog] configure: Simplify, remove an unnecessary intermediate variable

Martin Storsjö git at videolan.org
Mon Jul 27 13:00:11 CEST 2015


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Mon Jul 27 09:40:28 2015 +0300| [e4015b00d4e9e40dc1693a018edd51bf7a04993e] | committer: Martin Storsjö

configure: Simplify, remove an unnecessary intermediate variable

Signed-off-by: Martin Storsjö <martin at martin.st>

> 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



More information about the ffmpeg-cvslog mailing list