[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: Daniel Rall <dlr_at_collab.net>
Date: 2007-03-14 18:28:04 CET

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);
>

  • application/pgp-signature attachment: stored
Received on Wed Mar 14 18:28:23 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.