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

Re: svn commit: rev 1267 - trunk/subversion/include trunk/subversion/libsvn_subr

From: Branko Čibej <brane_at_xbc.nu>
Date: 2002-02-14 02:23:47 CET

Blair Zajac wrote:

>brane@tigris.org wrote:
>
>>Author: brane
>>Date: 2002-02-13 22:45 GMT
>>New Revision: 1267
>>
>>Modified:
>> trunk/subversion/include/svn_error.h
>> trunk/subversion/include/svn_types.h
>> trunk/subversion/libsvn_subr/svn_error.c
>>Log:
>>I hear people are having trouble finding where Subversion errors come from.
>>This little patch will fix them. (The troubles, not the people. :-)
>>
>
>
>If you compile without SVN_DEBUG defined, then gcc -Wall complains these
>warnings:
>
>/bin/sh /tmp/bzajac/svn-build-1267/libtool --silent --mode=compile gcc -DSOLARIS
>2=8 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -O3 -Wall -pthreads -DNEON_ZLIB
>-DNEON_SSL -I./subversion/include -I. -I/tmp/bzajac/svn-build-1267/apr/includ
>e -I/tmp/bzajac/svn-build-1267/apr-util/include -I/tmp/bzajac/svn-build-1267/ap
>r-util/xml/expat/lib -I/tmp/bzajac/svn-build-1267/apr-util/include -I/tmp/bzajac
>/svn-build-1267/neon/src -I./expat-lite -o subversion/libsvn_subr/svn_error.lo
>-c subversion/libsvn_subr/svn_error.c
>subversion/libsvn_subr/svn_error.c:58: warning: `error_file' defined but not used
>subversion/libsvn_subr/svn_error.c:59: warning: `error_line' defined but not used
>
Hmmm ... we can wrap those definitions in #ifdef SVN_DEBUG, since
they're local to the file and aren't touched otherwise, anyway. Fixed in
1268.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:37:07 2006

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.