aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-12-25 06:52:34 -0500
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-12-26 00:29:14 -0500
commit0be59d2b5e5d9460c6f8cbf14898538f30721f89 (patch)
treed3ea2b0d10628df1f3ac2dc5cc5f6720f632372e
parent362c3a3ccfbe0e779b8fbfd0eaa829f1ea20c9cb (diff)
downloadrneovim-0be59d2b5e5d9460c6f8cbf14898538f30721f89.tar.gz
rneovim-0be59d2b5e5d9460c6f8cbf14898538f30721f89.tar.bz2
rneovim-0be59d2b5e5d9460c6f8cbf14898538f30721f89.zip
hardcopy: fix pvs/v1048
-rw-r--r--src/nvim/hardcopy.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/nvim/hardcopy.c b/src/nvim/hardcopy.c
index 4b361d2d45..cb5c5338a1 100644
--- a/src/nvim/hardcopy.c
+++ b/src/nvim/hardcopy.c
@@ -2305,13 +2305,10 @@ int mch_print_init(prt_settings_T *psettings, char_u *jobname, int forceit)
|| TOLOWER_ASC(printer_opts[OPT_PRINT_COLLATE].string[0]) ==
'y');
if (prt_collate) {
- /* TODO: Get number of collated copies wanted. */
- psettings->n_collated_copies = 1;
+ // TODO(vim): Get number of collated copies wanted.
} else {
- /* TODO: Get number of uncollated copies wanted and update the cached
- * count.
- */
- prt_num_copies = 1;
+ // TODO(vim): Get number of uncollated copies wanted and update the cached
+ // count.
}
psettings->jobname = jobname;