--- SVNClient.cpp.orig	2005-08-30 17:39:28.045986507 +0300
+++ SVNClient.cpp	2005-08-30 17:39:51.845036197 +0300
@@ -3082,7 +3082,7 @@
     }
     apr_pool_t * apr_pool = requestPool.pool ();
     svn_client_ctx_t *ctx = getContext(NULL);
-    svn_error_t *err = svn_client_lock(targetsApr,
+    Err = svn_client_lock(targetsApr,
         comment, force, ctx, apr_pool);
 
     if (Err != NULL)
