A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2004-August/046698.html below:

[Python-checkins] python/dist/src/Objects listobject.c, 2.218, 2.219

[Python-Dev] RE: [Python-checkins] python/dist/src/Objects listobject.c, 2.218, 2.219Jeremy Hylton jhylton at gmail.com
Tue Aug 3 14:51:36 CEST 2004
On Tue, 03 Aug 2004 11:48:24 +0200, Sjoerd Mullender <sjoerd at acm.org> wrote:
> This is indeed perverted.  Another option is to add a statement
>         (void) status;
> somewhere to the function and to remove the status++ from the return.
> This seems to shut up all compilers I've dealt with.

I believe we use this idiom elsewhere in the Python codebase.  If it's
combined with a comment like /* avoid compile warning about unused
variable */ it's quite clear.

Jeremy
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4