From f2e799863b6314d7103c25cd86ff52aeea9dc8a1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20K=C3=B6ppe?= Date: Thu, 29 Oct 2020 11:47:59 +0000 Subject: [PATCH] [common.h] Mark another entry point as "unused". (#2625) --- include/pybind11/detail/common.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pybind11/detail/common.h b/include/pybind11/detail/common.h index 5ca44f77d..9ee4dd2d7 100644 --- a/include/pybind11/detail/common.h +++ b/include/pybind11/detail/common.h @@ -311,7 +311,7 @@ extern "C" { \endrst */ #define PYBIND11_MODULE(name, variable) \ static ::pybind11::module_::module_def \ - PYBIND11_CONCAT(pybind11_module_def_, name); \ + PYBIND11_CONCAT(pybind11_module_def_, name) PYBIND11_MAYBE_UNUSED; \ PYBIND11_MAYBE_UNUSED \ static void PYBIND11_CONCAT(pybind11_init_, name)(::pybind11::module_ &); \ PYBIND11_PLUGIN_IMPL(name) { \