]> granicus.if.org Git - python/commit
Closes bpo-29939: suppress compiler warnings in _ctypes_test (#1039)
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 7 Apr 2017 22:24:51 +0000 (23:24 +0100)
committerGitHub <noreply@github.com>
Fri, 7 Apr 2017 22:24:51 +0000 (23:24 +0100)
commitae0915e42d8cd96e5ced1fc442ea078b4a59e82d
tree04dc753cde8f5934b12bcf126b641230acbf6fbf
parentf688f180b21679c06d5258e88c688635ed719473
Closes bpo-29939: suppress compiler warnings in _ctypes_test (#1039)

Changed test code to suppress a compiler warning, while taking care to avoid the code being optimized out by the compiler.
(cherry picked from commit 164d30eb1e66575dafee6af4fca4cbf52c7fbe6a)
Modules/_ctypes/_ctypes_test.c