subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r932635 - /subversion/trunk/subversion/libsvn_repos/reporter.c
Date Fri, 09 Apr 2010 22:08:41 GMT
Author: stsp
Date: Fri Apr  9 22:08:40 2010
New Revision: 932635

URL: http://svn.apache.org/viewvc?rev=932635&view=rev
Log:
* subversion/libsvn_repos/reporter.c
  (update_entry): Style nit: Replace "if (a) b = TRUE;" with "b = (a);"

Suggested by: hwright

Modified:
    subversion/trunk/subversion/libsvn_repos/reporter.c

Modified: subversion/trunk/subversion/libsvn_repos/reporter.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_repos/reporter.c?rev=932635&r1=932634&r2=932635&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_repos/reporter.c (original)
+++ subversion/trunk/subversion/libsvn_repos/reporter.c Fri Apr  9 22:08:40 2010
@@ -807,8 +807,8 @@ update_entry(report_baton_t *b, svn_revn
           && (!info || (!info->start_empty && !info->lock_token))
           && (requested_depth <= wc_depth || t_entry->kind == svn_node_file))
         return SVN_NO_ERROR;
-      else if (distance != -1 || b->ignore_ancestry)
-        related = TRUE;
+
+      related = (distance != -1 || b->ignore_ancestry);
     }
 
   /* If there's a source and it's not related to the target, nuke it. */



Mime
View raw message