Small cleanup.
authorCarl Hetherington <cth@carlh.net>
Sat, 9 Jul 2022 17:09:32 +0000 (19:09 +0200)
committerCarl Hetherington <cth@carlh.net>
Mon, 11 Jul 2022 00:11:37 +0000 (02:11 +0200)
src/lib/string_text_file_content.cc

index 7ee870e1815be9c09d6430ae7427bdcd4f9f509f..dae6811b56120a12f8e576669d5029745872e65e 100644 (file)
@@ -89,9 +89,7 @@ StringTextFileContent::examine (shared_ptr<const Film> film, shared_ptr<Job> job
        /* Default to turning these subtitles on */
        only_text()->set_use (true);
 
-       std::set<string> names = font_names(file);
-
-       for (auto name: names) {
+       for (auto name: font_names(file)) {
                optional<boost::filesystem::path> path;
                if (!name.empty()) {
                        path = FontConfig::instance()->system_font_with_name(name);