Small cleanup.
[dcpomatic.git] / 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);