Diff of /src/smb_conn_srv.c [1db04f] .. [aee9ce] Maximize Restore

  Switch to side-by-side view

--- a/src/smb_conn_srv.c
+++ b/src/smb_conn_srv.c
@@ -752,7 +752,6 @@
 void smb_conn_srv_rename(struct smb_conn_srv_ctx *ctx,
 			struct smb_conn_rename_query *query, size_t query_len){
 
-    int				error;
     int				count;
     const char			*old_url;
     const char			*new_url;
@@ -794,7 +793,6 @@
 	return;
     }
 
-    error = 0;
     if (strcasecmp(new_url, old_url) == 0) goto rename;
 
     /* check the presence of old_url */