From f530f9ee9f6e81052621bc8952eb0fddfdc09dee Mon Sep 17 00:00:00 2001 From: Michael Fabian 'Xaymar' Dirks Date: Mon, 22 Jul 2019 00:53:19 +0200 Subject: [PATCH] ui/debug_handler: Fix warnings about unused variables --- source/ui/debug_handler.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/source/ui/debug_handler.cpp b/source/ui/debug_handler.cpp index 47ccefe..b030ed5 100644 --- a/source/ui/debug_handler.cpp +++ b/source/ui/debug_handler.cpp @@ -31,7 +31,7 @@ extern "C" { #pragma warning(pop) } -void obsffmpeg::ui::debug_handler::get_defaults(obs_data_t* settings, AVCodec* codec, AVCodecContext* context) {} +void obsffmpeg::ui::debug_handler::get_defaults(obs_data_t*, AVCodec*, AVCodecContext*) {} template std::string to_string(T value){}; @@ -60,7 +60,7 @@ std::string to_string(double_t value) return std::string(buf.data(), buf.data() + buf.size()); } -void obsffmpeg::ui::debug_handler::get_properties(obs_properties_t* props, AVCodec* codec, AVCodecContext* context) +void obsffmpeg::ui::debug_handler::get_properties(obs_properties_t*, AVCodec* codec, AVCodecContext* context) { if (context) return; @@ -202,4 +202,4 @@ void obsffmpeg::ui::debug_handler::get_properties(obs_properties_t* props, AVCod } } -void obsffmpeg::ui::debug_handler::update(obs_data_t* settings, AVCodec* codec, AVCodecContext* context) {} +void obsffmpeg::ui::debug_handler::update(obs_data_t*, AVCodec*, AVCodecContext*) {}