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

[PATCH][merge-tracking]Fix compiler warning

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: 2007-03-14 08:04:31 CET

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 Wed Mar 14 08:04:58 2007

This is an archived mail posted to the Subversion Dev mailing list.