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

[PATCH] Fix some build warnings

From: Senthil Kumaran S <senthil_at_collab.net>
Date: Fri, 22 Aug 2008 14:11:07 +0530

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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'.

* subversion/libsvn_fs_fs/fs_fs.c
  (read_rep_offsets): Remove unused variable 'i'.

Patch by: stylesen
]]]

Thank You.
- --
Senthil Kumaran S
http://www.stylesen.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIrnuh9o1G+2zNQDgRAooWAJ9FUGbYoL1/4st8pnCKTuCGG0hQigCfeRPb
63c2LB0+7sGa5kr7L5/CAOM=
=zY1Q
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org

Received on 2008-08-22 10:41:35 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.