summaryrefslogtreecommitdiff
path: root/gnuradio-core/src/lib/runtime/gr_complex.h
diff options
context:
space:
mode:
authorAlexandru Csete2012-12-31 12:54:12 -0800
committerJohnathan Corgan2012-12-31 12:54:12 -0800
commit79284e93f738d389b452f8829bf4876d3fd513b4 (patch)
tree88cf759a2f9aa5d92e3fc048dec5a0d391ef9d6f /gnuradio-core/src/lib/runtime/gr_complex.h
parent80d1e9defd24f1e52622bfb75b670a32bd81854f (diff)
downloadgnuradio-79284e93f738d389b452f8829bf4876d3fd513b4.tar.gz
gnuradio-79284e93f738d389b452f8829bf4876d3fd513b4.tar.bz2
gnuradio-79284e93f738d389b452f8829bf4876d3fd513b4.zip
core: fixed some unused parameter warnings
Diffstat (limited to 'gnuradio-core/src/lib/runtime/gr_complex.h')
-rw-r--r--gnuradio-core/src/lib/runtime/gr_complex.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/gnuradio-core/src/lib/runtime/gr_complex.h b/gnuradio-core/src/lib/runtime/gr_complex.h
index 758002106..58d1525b4 100644
--- a/gnuradio-core/src/lib/runtime/gr_complex.h
+++ b/gnuradio-core/src/lib/runtime/gr_complex.h
@@ -27,13 +27,13 @@ typedef std::complex<float> gr_complex;
typedef std::complex<double> gr_complexd;
-inline bool is_complex (gr_complex x) { return true;}
-inline bool is_complex (gr_complexd x) { return true;}
-inline bool is_complex (float x) { return false;}
-inline bool is_complex (double x) { return false;}
-inline bool is_complex (int x) { return false;}
-inline bool is_complex (char x) { return false;}
-inline bool is_complex (short x) { return false;}
+inline bool is_complex (gr_complex x) { (void) x; return true;}
+inline bool is_complex (gr_complexd x) { (void) x; return true;}
+inline bool is_complex (float x) { (void) x; return false;}
+inline bool is_complex (double x) { (void) x; return false;}
+inline bool is_complex (int x) { (void) x; return false;}
+inline bool is_complex (char x) { (void) x; return false;}
+inline bool is_complex (short x) { (void) x; return false;}
// this doesn't really belong here, but there are worse places for it...