subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1502520 - in /subversion/branches/fsfs-format7/subversion: libsvn_fs_fs/transaction.c libsvn_fs_x/transaction.c
Date Fri, 12 Jul 2013 11:45:23 GMT
Author: stefan2
Date: Fri Jul 12 11:45:23 2013
New Revision: 1502520

URL: http://svn.apache.org/r1502520
Log:
On the fsfs-format7 branch: fix a varible initialization
(not actually an issue as it will get overwritten later).

* subversion/libsvn_fs_fs/transaction.c
  (rep_write_get_baton,
   write_hash_delta_rep): "TRUE" has not been valid here for a long time

* subversion/libsvn_fs_x/transaction.c
  (rep_write_get_baton,
   write_hash_delta_rep): ditto

Modified:
    subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c
    subversion/branches/fsfs-format7/subversion/libsvn_fs_x/transaction.c

Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c?rev=1502520&r1=1502519&r2=1502520&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c (original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c Fri Jul 12 11:45:23
2013
@@ -1783,7 +1783,7 @@ rep_write_get_baton(struct rep_write_bat
   void *whb;
   fs_fs_data_t *ffd = fs->fsap_data;
   int diff_version = ffd->format >= SVN_FS_FS__MIN_SVNDIFF1_FORMAT ? 1 : 0;
-  svn_fs_fs__rep_header_t header = { TRUE };
+  svn_fs_fs__rep_header_t header = { 0 };
 
   b = apr_pcalloc(pool, sizeof(*b));
 
@@ -2303,7 +2303,7 @@ write_hash_delta_rep(representation_t *r
   representation_t *base_rep;
   representation_t *old_rep;
   svn_stream_t *source;
-  svn_fs_fs__rep_header_t header = { TRUE };
+  svn_fs_fs__rep_header_t header = { 0 };
 
   apr_off_t rep_end = 0;
   apr_off_t delta_start = 0;

Modified: subversion/branches/fsfs-format7/subversion/libsvn_fs_x/transaction.c
URL: http://svn.apache.org/viewvc/subversion/branches/fsfs-format7/subversion/libsvn_fs_x/transaction.c?rev=1502520&r1=1502519&r2=1502520&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_x/transaction.c (original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_x/transaction.c Fri Jul 12 11:45:23
2013
@@ -1821,7 +1821,7 @@ rep_write_get_baton(struct rep_write_bat
   svn_txdelta_window_handler_t wh;
   void *whb;
   int diff_version = 1;
-  svn_fs_x__rep_header_t header = { TRUE };
+  svn_fs_x__rep_header_t header = { 0 };
 
   b = apr_pcalloc(pool, sizeof(*b));
 
@@ -2253,7 +2253,7 @@ write_hash_delta_rep(representation_t *r
   representation_t *base_rep;
   representation_t *old_rep;
   svn_stream_t *source;
-  svn_fs_x__rep_header_t header = { TRUE };
+  svn_fs_x__rep_header_t header = { 0 };
 
   apr_off_t rep_end = 0;
   apr_off_t delta_start = 0;



Mime
View raw message