Remove unused capture.
[libdcp.git] / src / rating.cc
index 0ba9f2b8e8af3ee3033faeb1075b51018442e91a..dc32ec9c16c83cbe815b186fcbf449a031078639 100644 (file)
@@ -98,7 +98,7 @@ dcp::load_rating_list(boost::filesystem::path ratings_file)
                return a;
        };
 
-       auto get_line = [f, ratings_file, &get_line_no_throw]() {
+       auto get_line = [ratings_file, &get_line_no_throw]() {
                auto line = get_line_no_throw();
                if (!line) {
                        throw FileError("Bad ratings file", ratings_file, -1);