[New-bugs-announce] [issue36869] Avoid warning of unused variables

Emmanuel Arias report at bugs.python.org
Thu May 9 20:11:13 EDT 2019


New submission from Emmanuel Arias <emmanuelarias30 at gmail.com>:

When run ./configure && make -j4 there are two warnings on
Object/dictobject.c file about ix and hash variable are not used.

Zachary Ware make me note that when _PyObject_ASSERT is call and NDEBUG
is defined that expand to ((void)0).

So this PR add a #ifndef check to avoid the warnings.

----------
components: Build
messages: 342016
nosy: eamanu
priority: normal
pull_requests: 13141
severity: normal
status: open
title: Avoid warning of unused variables
type: enhancement
versions: Python 3.8

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


More information about the New-bugs-announce mailing list