[FFmpeg-cvslog] configure: Remove unused apply() helper function

Diego Biurrun git at videolan.org
Sun Nov 12 05:40:52 EET 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Oct 21 00:22:38 2017 +0200| [14bba662d489a58fe88240fc4d14238bf17ca203] | committer: Diego Biurrun

configure: Remove unused apply() helper function

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

 configure | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/configure b/configure
index 4dfe24e39e..6ff2ae2f92 100755
--- a/configure
+++ b/configure
@@ -1196,12 +1196,6 @@ check_host_cpp_condition(){
 EOF
 }
 
-apply(){
-    file=$1
-    shift
-    "$@" < "$file" > "$file.tmp" && mv "$file.tmp" "$file" || rm "$file.tmp"
-}
-
 cp_if_changed(){
     cmp -s "$1" "$2" && { test "$quiet" != "yes" && echo "$2 is unchanged"; } && return
     mkdir -p "$(dirname $2)"



More information about the ffmpeg-cvslog mailing list