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

Re: [PATCH][merge-tracking]Fix compiler warning

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2007-03-15 10:09:46 CET

Thanks Dan.

Fixed in r23839.

With regards
Kamesh Jayachandran
Daniel Rall wrote:
> Looks good, Kamesh. +1, please commit.
>
> On Wed, 14 Mar 2007, Kamesh Jayachandran wrote:
>
>
>> Hi All,
>> Find the attached patch and log.
>>
>> With regards
>> Kamesh Jayachandran
>>
>
>
>> [[[
>> Fix compiler warning.
>>
>> * subversion/libsvn_fs_util/merge-info-sqlite-index.c
>> (check_format):
>> Initialize err to SVN_NO_ERROR.
>>
>> Patch by:kameshj
>> ]]]
>>
>
>
>> Index: subversion/libsvn_fs_util/merge-info-sqlite-index.c
>> ===================================================================
>> --- subversion/libsvn_fs_util/merge-info-sqlite-index.c (revision 23808)
>> +++ subversion/libsvn_fs_util/merge-info-sqlite-index.c (working copy)
>> @@ -81,7 +81,7 @@
>> static svn_error_t *
>> check_format(sqlite3 *db)
>> {
>> - svn_error_t *err;
>> + svn_error_t *err = SVN_NO_ERROR;
>> sqlite3_stmt *stmt;
>>
>> SQLITE_ERR(sqlite3_prepare(db, "pragma user_version;", -1, &stmt, NULL), db);
>>
>>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 15 10:10:16 2007

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.