summaryrefslogtreecommitdiff
path: root/src/tools/dcpomatic_kdm_cli.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2020-05-05 20:03:55 +0200
committerCarl Hetherington <cth@carlh.net>2020-05-06 20:15:49 +0200
commit6a63fd3497407f4ac978205e17a358af095882be (patch)
treec4608c0cfe64ca6b2c2b4aab3f95a185705c9038 /src/tools/dcpomatic_kdm_cli.cc
parent198ea7d7dbd0140f3eeea2cc35ae9f0312ea78a1 (diff)
Remove some now-pointless passing of name_values.
Diffstat (limited to 'src/tools/dcpomatic_kdm_cli.cc')
-rw-r--r--src/tools/dcpomatic_kdm_cli.cc8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/tools/dcpomatic_kdm_cli.cc b/src/tools/dcpomatic_kdm_cli.cc
index 6bcad22f6..78b4201c6 100644
--- a/src/tools/dcpomatic_kdm_cli.cc
+++ b/src/tools/dcpomatic_kdm_cli.cc
@@ -134,7 +134,6 @@ write_files (
boost::filesystem::path output,
dcp::NameFormat container_name_format,
dcp::NameFormat filename_format,
- dcp::NameFormat::Map values,
bool verbose
)
{
@@ -144,7 +143,6 @@ write_files (
output,
container_name_format,
filename_format,
- values,
bind (&always_overwrite)
);
@@ -153,7 +151,7 @@ write_files (
}
} else {
int const N = write_files (
- kdms, output, filename_format, values,
+ kdms, output, filename_format,
bind (&always_overwrite)
);
@@ -256,7 +254,7 @@ from_film (
}
}
- write_files (kdms, zip, output, container_name_format, filename_format, values, verbose);
+ write_files (kdms, zip, output, container_name_format, filename_format, verbose);
} catch (FileError& e) {
cerr << program_name << ": " << e.what() << " (" << e.file().string() << ")\n";
exit (EXIT_FAILURE);
@@ -380,7 +378,7 @@ from_dkdm (
kdms.push_back (KDMWithMetadataPtr(new DCPKDMWithMetadata(name_values, i->cinema, kdm)));
}
- write_files (kdms, zip, output, container_name_format, filename_format, values, verbose);
+ write_files (kdms, zip, output, container_name_format, filename_format, verbose);
} catch (FileError& e) {
cerr << program_name << ": " << e.what() << " (" << e.file().string() << ")\n";
exit (EXIT_FAILURE);