You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by rh...@apache.org on 2013/02/13 21:41:20 UTC
svn commit: r1445907 -
/subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
Author: rhuijben
Date: Wed Feb 13 20:41:20 2013
New Revision: 1445907
URL: http://svn.apache.org/r1445907
Log:
Following up on r1445812 resolve the:
Program: ...n-2012\dev\Debug\subversion\tests\libsvn_wc\op-depth-test.exe
Module: ...n-2012\dev\Debug\subversion\tests\libsvn_wc\op-depth-test.exe
File: f:\svn-2012\dev\subversion\libsvn_wc\wc_db_update_move.c Line: 2105
Run-Time Check Failure #3 - The variable 'can_bump' is being used without
being initialized.
which currently hangs up the windows buildbots.
* subversion/libsvn_wc/wc_db_update_move.c
(bump_moved_away): Initialize an otherwise uninitialized variable to the
value that doesn't break the tests.
Modified:
subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
Modified: subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c?rev=1445907&r1=1445906&r2=1445907&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c (original)
+++ subversion/trunk/subversion/libsvn_wc/wc_db_update_move.c Wed Feb 13 20:41:20 2013
@@ -2100,6 +2100,9 @@ bump_moved_away(svn_wc__db_wcroot_t *wcr
if (op_depth == 0)
err = depth_sufficient_to_bump(&can_bump, src_relpath, wcroot,
src_depth, scratch_pool);
+ else
+ can_bump = TRUE; /* ### OK? With FALSE many op-depth tests fail */
+
if (!err)
{
if (!can_bump)