patch 9.1.0632: MS-Windows: Compiler Warnings
Problem: MS-Windows: Compiler Warnings
Solution: Fix the warnings (Ken Takata)
* Unused variable.
* Conversion from size_t to int.
closes: #15369
Signed-off-by: Ken Takata <kentkt@csc.jp>
Signed-off-by: Christian Brabandt <cb@256bit.org>
diff --git a/src/if_py_both.h b/src/if_py_both.h
index e0fd3ea..d09b14c 100644
--- a/src/if_py_both.h
+++ b/src/if_py_both.h
@@ -358,7 +358,9 @@
#else
static PyObject *py_load_module;
#endif
+#if PY_VERSION_HEX < 0x30c00a7
static PyObject *py_find_module;
+#endif
static PyObject *VimError;