subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From stef...@apache.org
Subject svn commit: r1465134 - /subversion/trunk/subversion/libsvn_ra_svn/marshal.c
Date Fri, 05 Apr 2013 21:21:24 GMT
Author: stefan2
Date: Fri Apr  5 21:21:23 2013
New Revision: 1465134

URL: http://svn.apache.org/r1465134
Log:
Fix "unused function" compiler warnings.

* subversion/libsvn_ra_svn/marshal.c
  (write_tuple_word,
   write_tuple_word_opt,
   write_tuple_number): remove unused functions

Modified:
    subversion/trunk/subversion/libsvn_ra_svn/marshal.c

Modified: subversion/trunk/subversion/libsvn_ra_svn/marshal.c
URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_ra_svn/marshal.c?rev=1465134&r1=1465133&r2=1465134&view=diff
==============================================================================
--- subversion/trunk/subversion/libsvn_ra_svn/marshal.c (original)
+++ subversion/trunk/subversion/libsvn_ra_svn/marshal.c Fri Apr  5 21:21:23 2013
@@ -616,7 +616,10 @@ svn_error_t *svn_ra_svn_end_list(svn_ra_
 
 svn_error_t *svn_ra_svn_flush(svn_ra_svn_conn_t *conn, apr_pool_t *pool)
 {
-  return writebuf_flush(conn, pool);
+  SVN_ERR(writebuf_flush(conn, pool));
+  conn->may_check_for_error = TRUE;
+
+  return SVN_NO_ERROR;
 }
 
 /* --- WRITING TUPLES --- */
@@ -745,23 +748,6 @@ write_tuple_end_list(svn_ra_svn_conn_t *
 }
 
 static svn_error_t *
-write_tuple_word(svn_ra_svn_conn_t *conn,
-                 apr_pool_t *pool,
-                 const char *cstr)
-{
-  SVN_ERR_ASSERT(cstr);
-  return svn_ra_svn_write_word(conn, pool, cstr);
-}
-
-static svn_error_t *
-write_tuple_word_opt(svn_ra_svn_conn_t *conn,
-                     apr_pool_t *pool,
-                     const char *cstr)
-{
-  return cstr ? svn_ra_svn_write_word(conn, pool, cstr) : SVN_NO_ERROR;
-}
-
-static svn_error_t *
 write_tuple_revision(svn_ra_svn_conn_t *conn,
                      apr_pool_t *pool,
                      svn_revnum_t rev)
@@ -781,14 +767,6 @@ write_tuple_revision_opt(svn_ra_svn_conn
 }
 
 static svn_error_t *
-write_tuple_number(svn_ra_svn_conn_t *conn,
-                   apr_pool_t *pool,
-                   apr_uint64_t number)
-{
-  return svn_ra_svn_write_number(conn, pool, number);
-}
-
-static svn_error_t *
 write_tuple_boolean(svn_ra_svn_conn_t *conn,
                     apr_pool_t *pool,
                     svn_boolean_t value)



Mime
View raw message