summaryrefslogtreecommitdiffstats
path: root/kdeprint/cups
diff options
context:
space:
mode:
authorOBATA Akio <obache@wizdas.com>2020-08-10 18:29:10 +0900
committerSlávek Banko <slavek.banko@axis.cz>2021-02-03 22:35:48 +0100
commita9e9cfcd54baa5bdd71a187c41542888a091f220 (patch)
treedc39cef86b9d109f8d6bb5cfca69733f35adc076 /kdeprint/cups
parentc2b391d828f6a42d4f7f3247b90a7e27c090c332 (diff)
downloadtdelibs-a9e9cfcd54baa5bdd71a187c41542888a091f220.tar.gz
tdelibs-a9e9cfcd54baa5bdd71a187c41542888a091f220.zip
Fix missing argments for drive parse filter on lpr
It was extended for compressed PPD support, but not refrected to lpr parts. Signed-off-by: OBATA Akio <obache@wizdas.com> (cherry picked from commit 15116d8f64b35a695bcabc92239667c8684dc545)
Diffstat (limited to 'kdeprint/cups')
-rw-r--r--kdeprint/cups/make_driver_db_cups.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kdeprint/cups/make_driver_db_cups.cpp b/kdeprint/cups/make_driver_db_cups.cpp
index bc6e4383b..0cd73ba9e 100644
--- a/kdeprint/cups/make_driver_db_cups.cpp
+++ b/kdeprint/cups/make_driver_db_cups.cpp
@@ -213,7 +213,7 @@ void initCompressedPpd(const char *dirname)
// If we were to rerun initPpd here then all drivers would be duplicated!
}
-int parsePpdFile(const char *filename, const char *origin, const char *metadata, FILE *output_file)
+int parsePpdFile(const char *filename, const char * /*origin*/, const char * /*metadata*/, FILE *output_file)
{
gzFile ppd_file;
char line[4096], value[256], langver[64] = {0}, desc[256] = {0};