[Python-Dev] cpython (merge 3.2 -> default): Fix the return value of set_discard (issue #10519)

Antoine Pitrou solipsis at pitrou.net
Sun Oct 30 18:20:34 CET 2011


On Sun, 30 Oct 2011 13:38:35 +0100
petri.lehtinen <python-checkins at python.org> wrote:

> http://hg.python.org/cpython/rev/f634102aca01
> changeset:   73204:f634102aca01
> parent:      73201:a5c4ae15b59d
> parent:      73203:b643458a0108
> user:        Petri Lehtinen <petri at digip.org>
> date:        Sun Oct 30 14:35:39 2011 +0200
> summary:
>   Fix the return value of set_discard (issue #10519)

I get the following compiler warning here:

Objects/setobject.c: In function ‘set_discard’:
Objects/setobject.c:1909:24: attention : unused variable ‘result’

Regards

Antoine.




More information about the Python-Dev mailing list