subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhuij...@apache.org
Subject svn commit: r918511 - /subversion/trunk/subversion/libsvn_subr/opt.c
Date Wed, 03 Mar 2010 15:33:02 GMT
Author: rhuijben
Date: Wed Mar  3 15:33:01 2010
New Revision: 918511

URL: http://svn.apache.org/viewvc?rev=918511&view=rev
Log:
* subversion/libsvn_subr/opt.c
  (svn_opt_parse_path):
     Initialize a previously uninitialized struct member, to avoid an
     uninitialized variable warning/error a few lines later.

Modified:
    subversion/trunk/subversion/libsvn_subr/opt.c

Modified: subversion/trunk/subversion/libsvn_subr/opt.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/opt.c?rev=918511&r1=918510&r2=918511&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/opt.c (original)
+++ subversion/trunk/subversion/libsvn_subr/opt.c Wed Mar  3 15:33:01 2010
@@ -686,6 +686,7 @@
         {
           ret = 0;
           start_revision.kind = svn_opt_revision_unspecified;
+          start_revision.value.number = 0;
         }
       else  /* looking at non-empty peg revision */
         {



Mime
View raw message