From 936ae5b410a236d65b9f0c6f9c1ee3ebbdd24ccb Mon Sep 17 00:00:00 2001 From: "Jan W. Krieger" Date: Sun, 23 Dec 2018 20:31:18 +0100 Subject: [PATCH] removed compiler warnings --- .../jkqtplotter_simpletest_functionplot.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/simpletest_functionplot/jkqtplotter_simpletest_functionplot.cpp b/test/simpletest_functionplot/jkqtplotter_simpletest_functionplot.cpp index 89d55aef08..63b932d4ec 100644 --- a/test/simpletest_functionplot/jkqtplotter_simpletest_functionplot.cpp +++ b/test/simpletest_functionplot/jkqtplotter_simpletest_functionplot.cpp @@ -4,14 +4,14 @@ #include "jkqtplotter/jkqtplotter.h" #include "jkqtplotter/jkqtpgraphsevaluatedfunction.h" -double sinc(double x, void* params) { +double sinc(double x, void* /*params*/) { return 10.0*sin(x)/x; } struct SincSqr { public: inline SincSqr(double amplitude): a(amplitude) {} - inline double operator()(double x, void* params) { + inline double operator()(double x, void* /*params*/) { return a*sin(x)*sin(x)/x/x; } private: