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

Re: [PATCH] Fix some build warnings

From: Arfrever Frehtes Taifersar Arahesis <arfrever.fta_at_gmail.com>
Date: Fri, 22 Aug 2008 11:24:40 +0200

2008-08-22 10:41:07 Senthil Kumaran S napisał(a):
> Hi,
>
> I am attaching a patch along with this email which fixes some compiler warnings
> shown below:
>
> <snip>
> ../subversion/libsvn_fs_fs/fs_fs.c: In function 'read_rep_offsets':
> ../subversion/libsvn_fs_fs/fs_fs.c:1602: warning: unused variable 'i'
> ../subversion/tests/libsvn_fs/fs-test.c: In function ‘verify_checksum’:
> ../subversion/tests/libsvn_fs/fs-test.c:4405: warning: passing argument 1 of
> ‘svn_fs_file_checksum’ from incompatible pointer type
> </snip>
>
> [[[
> Fix some build warnings.
>
> * subversion/tests/libsvn_fs/fs-test.c
> (verify_checksum): Pass the correct pointer type of 'actual_checksum'
> to 'svn_fs_file_checksum'.

   to svn_fs_file_checksum().

>
> * subversion/libsvn_fs_fs/fs_fs.c
> (read_rep_offsets): Remove unused variable 'i'.
>
> Patch by: stylesen
> ]]]

+1 to commit.

-- 
Arfrever Frehtes Taifersar Arahesis

Received on 2008-08-22 11:28:34 CEST

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.