[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

[PATCH] Compile warnings in svn-push.c

From: Jon Foster <jon_at_jon-foster.co.uk>
Date: 2004-05-01 17:33:52 CEST

[[[
Fix compiler warnings.

    * contrib/client-side/svn-push/svn-push.c
      Add #include svn_cmdline.h
      (do_job, main): Remove unused variables
]]]

Kind regards,

Jon

Index: contrib/client-side/svn-push/svn-push.c
===================================================================
--- contrib/client-side/svn-push/svn-push.c (revision 9590)
+++ contrib/client-side/svn-push/svn-push.c (working copy)
@@ -20,6 +20,7 @@
 #include <svn_pools.h>
 #include <svn_ra.h>
 #include <svn_delta.h>
+#include <svn_cmdline.h>
 #include <svn_config.h>
 
 static svn_error_t *
@@ -84,9 +85,10 @@
   void *report_baton;
   apr_hash_t *config;
   svn_ra_callbacks_t dest_callbacks;
- svn_ra_callbacks_t src_callbacks;
+#if 0
   svn_auth_baton_t *ab;
   apr_array_header_t *providers;
+#endif
 
   SVN_ERR (svn_config_get_config (&config, NULL, pool));
 
@@ -146,7 +148,7 @@
   apr_pool_t *top_pool;
   svn_error_t *error = NULL;
   int start_rev, end_rev;
- char *src_url, *dest_url, *s;
+ char *src_url, *dest_url;
 
 
   /* Initialize the app. Send all error messages to 'stderr'. */

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat May 1 17:31:22 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.