You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by br...@apache.org on 2014/08/06 07:22:34 UTC
svn commit: r1616098 - /subversion/trunk/subversion/libsvn_subr/sqlite.c
Author: breser
Date: Wed Aug 6 05:22:34 2014
New Revision: 1616098
URL: http://svn.apache.org/r1616098
Log:
* subversion/libsvn_subr/sqlite.c
(close_apr): Remove code that doesn't really do anyting but try to convince
a debugger to be able to see a value. Hopefully, the bug has been fixed in
the deubgger. This was trigger a -Wself-assign warning in LLVM.
Modified:
subversion/trunk/subversion/libsvn_subr/sqlite.c
Modified: subversion/trunk/subversion/libsvn_subr/sqlite.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/sqlite.c?rev=1616098&r1=1616097&r2=1616098&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_subr/sqlite.c (original)
+++ subversion/trunk/subversion/libsvn_subr/sqlite.c Wed Aug 6 05:22:34 2014
@@ -933,9 +933,6 @@ close_apr(void *data)
if (db->prepared_stmts[i]->needs_reset)
{
#ifdef SVN_DEBUG
- const char *stmt_text = db->statement_strings[i];
- stmt_text = stmt_text; /* Provide value for debugger */
-
SVN_ERR_MALFUNCTION_NO_RETURN();
#else
err = svn_error_compose_create(