Title: Pointless comparision of unsigned integer with zero
Type: Stage:
Components: None Versions: Python 2.6
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: Nosy List: Bugger, mark.dickinson
Priority: normal Keywords:

Created on 2010-01-13 14:01 by Bugger, last changed 2010-01-13 14:10 by mark.dickinson. This issue is now closed.

Messages (2)
msg97716 - (view) Author: Bugger (Bugger) Date: 2010-01-13 14:01

small preprocessor warning.

Pointless comparision of unsigned integer with zero. Check PyMem_NEW.

Can an usigned int be smaller than 0? < comparision is "pointless" here.

Bye, Bugger
msg97718 - (view) Author: Mark Dickinson (mark.dickinson) * (Python committer) Date: 2010-01-13 14:10
Thanks for the report.

This was already fixed for the trunk in r76740 (and merged to py3k in r76741);  it doesn't particularly seem worth backporting the fix to the maintenance branches, since there's no real bug here.
Date User Action Args
2010-01-13 14:10:14mark.dickinsonsetstatus: open -> closed

nosy: + mark.dickinson
messages: + msg97718

resolution: out of date
2010-01-13 14:01:23Buggercreate