[issue39849] Compiler warninig: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]

Dong-hee Na report at bugs.python.org
Wed Mar 4 10:08:24 EST 2020


New submission from Dong-hee Na <donghee.na92 at gmail.com>:

Modules/_testcapimodule.c:6808:15: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
 6808 |     PyObject *res;

This warning is noticed after bpo-38913 is fixed.

My GCC version is 9.2.0 :)

----------
messages: 363355
nosy: corona10, serhiy.storchaka
priority: normal
severity: normal
status: open
title: Compiler warninig: warning: variable ‘res’ set but not used [-Wunused-but-set-variable]
type: enhancement
versions: Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39849>
_______________________________________


More information about the Python-bugs-list mailing list