You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by st...@apache.org on 2014/04/27 20:15:13 UTC

svn commit: r1590440 - /subversion/trunk/subversion/libsvn_fs_fs/tree.c

Author: stefan2
Date: Sun Apr 27 18:15:12 2014
New Revision: 1590440

URL: http://svn.apache.org/r1590440
Log:
Silence a compiler "potentially uninitialized" compiler warning that is
actually a false positive but the dependencies are obviously too complex
for GCC to understand.

* subversion/libsvn_fs_fs/tree.c
  (open_path): Initialize REST to NULL.

Modified:
    subversion/trunk/subversion/libsvn_fs_fs/tree.c

Modified: subversion/trunk/subversion/libsvn_fs_fs/tree.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_fs_fs/tree.c?rev=1590440&r1=1590439&r2=1590440&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_fs_fs/tree.c (original)
+++ subversion/trunk/subversion/libsvn_fs_fs/tree.c Sun Apr 27 18:15:12 2014
@@ -944,7 +944,7 @@ open_path(parent_path_t **parent_path_p,
   svn_fs_t *fs = root->fs;
   dag_node_t *here = NULL; /* The directory we're currently looking at.  */
   parent_path_t *parent_path; /* The path from HERE up to the root. */
-  const char *rest; /* The portion of PATH we haven't traversed yet.  */
+  const char *rest = NULL; /* The portion of PATH we haven't traversed yet. */
   apr_pool_t *iterpool = svn_pool_create(pool);
 
   /* path to the currently processed entry without trailing '/'.