Fix a would-be race condition.
* subversion/svnadmin/svnadmin.c
(subcommand_rmlocks): Don't pass the lock token, since it may no longer
be valid if another process has unlocked (and possibly re-locked),
and in any case it is superfluous since FORCE is TRUE.
@@ -2492,7 +2492,7 @@ subcommand_rmlocks(apr_getopt_t *os, void *baton, apr_pool_t *pool)
/* Now forcibly destroy the lock. */
err = svn_fs_unlock(fs, lock_path_utf8,
- lock->token, 1 /* force */, subpool);
+ NULL, 1 /* force */, subpool);
if (err)
goto move_on;
