Author: stefan2
Date: Sat May 18 22:35:42 2013
New Revision: 1484192

URL: http://svn.apache.org/r1484192
Log:
On the fsfs-format7 branch: fix compiler warning

* subversion/libsvn_fs_fs/transaction.c
  (fold_change): put parantheses around assignment inside condition

Modified:
    subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/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=1484192&r1=1484191&r2=1484192&view=diff
==============================================================================
--- subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c 
(original)
+++ subversion/branches/fsfs-format7/subversion/libsvn_fs_fs/transaction.c Sat 
May 18 22:35:42 2013
@@ -660,7 +660,7 @@ fold_change(apr_hash_t *changes,
   const svn_string_t *path = &change->path;
   const svn_fs_path_change2_t *info = &change->info;
 
-  if (old_change = apr_hash_get(changes, path->data, path->len))
+  if ((old_change = apr_hash_get(changes, path->data, path->len)))
     {
       /* This path already exists in the hash, so we have to merge
          this change into the already existing one. */


Reply via email to