You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@subversion.apache.org by ph...@apache.org on 2010/10/07 15:53:13 UTC
svn commit: r1005445 - /subversion/trunk/subversion/libsvn_wc/entries.c
Author: philip
Date: Thu Oct 7 13:53:13 2010
New Revision: 1005445
URL: http://svn.apache.org/viewvc?rev=1005445&view=rev
Log:
* subversion/libsvn_wc/entries.c (read_one_entry): Remove temporary variables.
Modified:
subversion/trunk/subversion/libsvn_wc/entries.c
Modified: subversion/trunk/subversion/libsvn_wc/entries.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_wc/entries.c?rev=1005445&r1=1005444&r2=1005445&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_wc/entries.c (original)
+++ subversion/trunk/subversion/libsvn_wc/entries.c Thu Oct 7 13:53:13 2010
@@ -609,20 +609,16 @@ read_one_entry(const svn_wc_entry_t **ne
{
svn_sqlite__db_t *sdb;
svn_sqlite__stmt_t *stmt;
- svn_sqlite__stmt_t *stmt_nodes;
- svn_boolean_t have_nodes_row;
SVN_ERR(svn_wc__db_temp_borrow_sdb(
&sdb, db, dir_abspath,
svn_wc__db_openmode_readonly,
scratch_pool));
- SVN_ERR(svn_sqlite__get_statement(&stmt_nodes, sdb,
+ SVN_ERR(svn_sqlite__get_statement(&stmt, sdb,
STMT_SELECT_NOT_PRESENT_1));
- SVN_ERR(svn_sqlite__bindf(stmt_nodes, "is", wc_id, entry->name));
- SVN_ERR(svn_sqlite__step(&have_nodes_row, stmt_nodes));
- stmt = stmt_nodes;
- have_row = have_nodes_row;
+ SVN_ERR(svn_sqlite__bindf(stmt, "is", wc_id, entry->name));
+ SVN_ERR(svn_sqlite__step(&have_row, stmt));
SVN_ERR(svn_sqlite__reset(stmt));
}