windows fixes
diff --git a/include/pybind/pybind.h b/include/pybind/pybind.h
index de496fb..55a5d6d 100644
--- a/include/pybind/pybind.h
+++ b/include/pybind/pybind.h
@@ -103,7 +103,7 @@
PyObject *pyArgs, PyObject *kwargs, bool is_method, detail::index_sequence<Index...>) {
int index = is_method ? 1 : 0;
int unused[] = { 0, (process_extra(std::get<Index>(args), index, pyArgs, kwargs), 0)... };
- (void) unused;
+ (void) unused; (void) index;
}
static void process_extra(const char *doc, function_entry *entry, const char **, const char **) { entry->doc = doc; }