Issue 36869: Avoid warning of unused variables (original) (raw)

Issue36869

Created on 2019-05-10 00:11 by eamanu, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 13182 merged eamanu,2019-05-10 00:11
Messages (3)
msg342016 - (view) Author: Emmanuel Arias (eamanu) * Date: 2019-05-10 00:11
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.
msg342068 - (view) Author: Inada Naoki (methane) * (Python committer) Date: 2019-05-10 10:08
New changeset a2fedd8c910cb5f5b9bd568d6fd44d63f8f5cfa5 by Inada Naoki (Emmanuel Arias) in branch 'master': bpo-36869: fix warning of unused variables (GH-13182) https://github.com/python/cpython/commit/a2fedd8c910cb5f5b9bd568d6fd44d63f8f5cfa5
msg351763 - (view) Author: Zackery Spytz (ZackerySpytz) * (Python triager) Date: 2019-09-11 05:26
PR 13182 has been merged, so I think this issue should be closed.
History
Date User Action Args
2022-04-11 14:59:14 admin set github: 81050
2019-09-11 05:30:38 methane set status: open -> closedresolution: fixedstage: resolved
2019-09-11 05:26:57 ZackerySpytz set nosy: + ZackerySpytzmessages: +
2019-05-10 10:08:13 methane set nosy: + methanemessages: +
2019-05-10 00:11:13 eamanu create