Fix clang5 warnings

This commit is contained in:
Jason Rhinelander
2017-08-22 10:37:51 -04:00
parent b97510388f
commit e9bb843edc
2 changed files with 3 additions and 3 deletions

View File

@@ -177,7 +177,7 @@ TEST_SUBMODULE(factory_constructors, m) {
// Stateful & reused:
int c = 1;
auto c4a = [c](pointer_tag, TF4_tag, int a) { return new TestFactory4(a);};
auto c4a = [c](pointer_tag, TF4_tag, int a) { (void) c; return new TestFactory4(a);};
// test_init_factory_basic, test_init_factory_casting
py::class_<TestFactory3, std::shared_ptr<TestFactory3>>(m, "TestFactory3")