subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From danie...@apache.org
Subject svn commit: r1185778 - /subversion/trunk/subversion/libsvn_wc/tree_conflicts.c
Date Tue, 18 Oct 2011 18:18:22 GMT
Author: danielsh
Date: Tue Oct 18 18:18:22 2011
New Revision: 1185778

URL: http://svn.apache.org/viewvc?rev=1185778&view=rev
Log:
* subversion/libsvn_wc/tree_conflicts.c
  (svn_wc__serialize_conflict): Optimize an expression.  No functional change.

Modified:
    subversion/trunk/subversion/libsvn_wc/tree_conflicts.c

Modified: subversion/trunk/subversion/libsvn_wc/tree_conflicts.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/tree_conflicts.c?rev=1185778&r1=1185777&r2=1185778&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/tree_conflicts.c (original)
+++ subversion/trunk/subversion/libsvn_wc/tree_conflicts.c Tue Oct 18 18:18:22 2011
@@ -366,7 +366,7 @@ svn_wc__serialize_conflict(svn_skel_t **
 
   /* Victim path (escaping separator chars). */
   victim_basename = svn_dirent_basename(conflict->local_abspath, result_pool);
-  SVN_ERR_ASSERT(strlen(victim_basename) > 0);
+  SVN_ERR_ASSERT(victim_basename[0]);
   svn_skel__prepend(svn_skel__str_atom(victim_basename, result_pool), c_skel);
 
   svn_skel__prepend(svn_skel__str_atom("conflict", result_pool), c_skel);



Mime
View raw message