From 677e0660fa3c52e047d82e48aa4286db679dc7a8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Kundr=C3=A1t?= Date: Fri, 10 Jan 2014 18:31:26 +0100 Subject: [PATCH] Remove unused arguments REVIEW: 114958 --- core/fileprinter.cpp | 2 +- core/script/kjs_data.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/core/fileprinter.cpp b/core/fileprinter.cpp index 4c7cf991d..55977a1ba 100644 --- a/core/fileprinter.cpp +++ b/core/fileprinter.cpp @@ -438,7 +438,7 @@ QStringList FilePrinter::jobname( QPrinter &printer, const QString &version ) return QStringList(); } -QStringList FilePrinter::deleteFile( QPrinter &printer, FileDeletePolicy fileDeletePolicy, const QString &version ) +QStringList FilePrinter::deleteFile( QPrinter &, FileDeletePolicy fileDeletePolicy, const QString &version ) { if ( fileDeletePolicy == FilePrinter::SystemDeletesFiles && version.startsWith( "lpr" ) ) { return QStringList("-r"); diff --git a/core/script/kjs_data.cpp b/core/script/kjs_data.cpp index 5c76d94e6..30544dcbb 100644 --- a/core/script/kjs_data.cpp +++ b/core/script/kjs_data.cpp @@ -35,7 +35,7 @@ static KJSObject dataGetDescription( KJSContext *, void *object ) return KJSString( file->description() ); } -static KJSObject dataGetMIMEType( KJSContext *, void *object ) +static KJSObject dataGetMIMEType( KJSContext *, void * ) { return KJSString( "" ); } @@ -54,7 +54,7 @@ static KJSObject dataGetName( KJSContext *, void *object ) return KJSString( file->name() ); } -static KJSObject dataGetPath( KJSContext *, void *object ) +static KJSObject dataGetPath( KJSContext *, void * ) { return KJSString( "" ); }