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;