From d3872816a1069acfa9241934cbaf098da994906f Mon Sep 17 00:00:00 2001 From: Daniel Scharrer Date: Mon, 11 Jun 2018 10:15:28 +0200 Subject: [PATCH] [clang-tidy] exefilter: Fix unnamed parameter warnings --- src/stream/exefilter.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stream/exefilter.hpp b/src/stream/exefilter.hpp index 21ef002..7ea1c53 100644 --- a/src/stream/exefilter.hpp +++ b/src/stream/exefilter.hpp @@ -63,7 +63,7 @@ public: template - void close(const Source &) { + void close(const Source & /* source */) { addr_bytes_left = 0, addr_offset = 5; } @@ -103,7 +103,7 @@ public: std::streamsize read(Source & src, char * dest, std::streamsize n); template - void close(const Source &) { + void close(const Source & /* source */) { offset = 0, flush_bytes = 0; }