From adfc56db8b752adc07e152b223080541c8d93685 Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Thu, 15 Jan 2015 17:49:26 -0700 Subject: [PATCH] Warning cleanups --- src/test_module.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test_module.cpp b/src/test_module.cpp index 2544d53..b161817 100644 --- a/src/test_module.cpp +++ b/src/test_module.cpp @@ -9,7 +9,7 @@ class TestBaseType public: TestBaseType() : val(10), const_val(15) { } TestBaseType(int) : val(10), const_val(15) {} - TestBaseType(int *i) : val(10), const_val(15) { } + TestBaseType(int *) : val(10), const_val(15) { } TestBaseType(const TestBaseType &) = default; virtual ~TestBaseType() {} virtual int func() { return 0; } @@ -100,7 +100,7 @@ std::string hello_world() return "Hello World"; } -int global_i = 1; +static int global_i = 1; int *get_new_int() {