[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: compose_delta.c compiler warning

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-02-14 21:46:47 CET

Branko ÄŒibej <brane@xbc.nu> writes:

> Philip Martin wrote:
>
>> if (ptn_overlap >= 0)
>>
>>The line above causes the warning:
>>
>>../svn/subversion/libsvn_delta/compose_delta.c:676: warning: comparison of unsigned expression >= 0 is always true
>>
>>
> It's not impossible that the test should be >0, not >=0; but my brain
> isn't working very well right now, so I won't venture to guess...

It used to be '>' but r2288, over two years ago, changed it to '>='.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Feb 14 21:49:40 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.