From 7f763c07635b556c452cb639c69eb4cf9faea893 Mon Sep 17 00:00:00 2001 From: Ralph Little Date: Tue, 13 Sep 2022 22:22:58 -0700 Subject: [PATCH] brother_mfp: silence temp. parameter warnings upsetting the pipeline. --- backend/brother_mfp-driver.cpp | 5 ----- backend/brother_mfp-encoder.cpp | 7 +++++++ 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/backend/brother_mfp-driver.cpp b/backend/brother_mfp-driver.cpp index e499255db..77aba407f 100644 --- a/backend/brother_mfp-driver.cpp +++ b/backend/brother_mfp-driver.cpp @@ -44,8 +44,6 @@ #include "brother_mfp-common.h" #include "brother_mfp-driver.h" -extern "C" void sanei_debug_brother_mfp_call(int level, const char *msg, ...); - /* * Protocol defines. * @@ -71,9 +69,6 @@ const char* BrotherDriver::ScanModeToText (BrotherScanMode scan_mode) return scan_mode_text[scan_mode]; } - - - SANE_Status BrotherUSBDriver::Connect () { SANE_Status res; diff --git a/backend/brother_mfp-encoder.cpp b/backend/brother_mfp-encoder.cpp index 60d9e86eb..70643f71d 100644 --- a/backend/brother_mfp-encoder.cpp +++ b/backend/brother_mfp-encoder.cpp @@ -708,6 +708,13 @@ DecodeStatus BrotherJFIFDecoder::DecodeScanData (const SANE_Byte *src_data, size size_t *src_data_consumed, SANE_Byte *dest_data, size_t dest_data_len, size_t *dest_data_written) { + (void)src_data; + (void)src_data_len; + (void)src_data_consumed; + (void)dest_data; + (void)dest_data_len; + (void)dest_data_written; + // TODO: finish me. return DECODE_STATUS_ERROR;