From 912379d58ccd70f41e88b27a36dce7fa145e169f Mon Sep 17 00:00:00 2001 From: Jason Turner Date: Tue, 9 Nov 2010 21:06:50 +0000 Subject: [PATCH] Fix some compile warnings --- samples/example.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/samples/example.cpp b/samples/example.cpp index 6aff54ba..fdf1c145 100644 --- a/samples/example.cpp +++ b/samples/example.cpp @@ -27,12 +27,12 @@ void bound_log(const std::string &msg) log(msg); } -void hello_world(const chaiscript::Boxed_Value &o) +void hello_world(const chaiscript::Boxed_Value & /*o*/) { std::cout << "Hello World" << std::endl; } -void hello_constructor(const chaiscript::Boxed_Value &o) +void hello_constructor(const chaiscript::Boxed_Value & /*o*/) { std::cout << "Hello Constructor" << std::endl; } @@ -66,7 +66,7 @@ void take_shared_ptr(const boost::shared_ptr &p) std::cout << *p << std::endl; } -int main(int argc, char *argv[]) { +int main(int /*argc*/, char * /*argv*/[]) { using namespace chaiscript; ChaiScript chai;