clang-tidy fix
diff --git a/include/pybind11/detail/internals.h b/include/pybind11/detail/internals.h
index 8abecb8..03c1050 100644
--- a/include/pybind11/detail/internals.h
+++ b/include/pybind11/detail/internals.h
@@ -411,8 +411,9 @@
 #    else
     PyInterpreterState *istate = PyInterpreterState_Get();
 #    endif
-    if (istate)
+    if (istate) {
         state_dict = reinterpret_borrow<object>(PyInterpreterState_GetDict(istate));
+    }
 #endif
     if (!state_dict) {
         raise_from(PyExc_SystemError, "get_internals(): could not acquire state dictionary!");