1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-11 10:19:03 +00:00

Remove a temporary variable.

This commit is contained in:
david
2011-12-19 22:41:43 +00:00
parent 097e52a7a4
commit 6bdce5cfd6

View File

@@ -793,7 +793,6 @@ static svn_error_t *checkout_svn(const char *url, const char *path)
apr_pool_t *pool; apr_pool_t *pool;
svn_opt_revision_t peg_revision, revision; svn_opt_revision_t peg_revision, revision;
svn_client_ctx_t *ctx; svn_client_ctx_t *ctx;
svn_auth_baton_t *ab;
svn_revnum_t revnum; svn_revnum_t revnum;
svn_config_t *cfg; svn_config_t *cfg;
@@ -813,7 +812,7 @@ static svn_error_t *checkout_svn(const char *url, const char *path)
APR_HASH_KEY_STRING); APR_HASH_KEY_STRING);
svn_config_set_bool(cfg, SVN_CONFIG_SECTION_GLOBAL, svn_config_set_bool(cfg, SVN_CONFIG_SECTION_GLOBAL,
SVN_CONFIG_OPTION_SSL_TRUST_DEFAULT_CA, TRUE); SVN_CONFIG_OPTION_SSL_TRUST_DEFAULT_CA, TRUE);
svn_cmdline_create_auth_baton(&ab, svn_cmdline_create_auth_baton(&ctx->auth_baton,
FALSE, /* non_interactive */ FALSE, /* non_interactive */
options.username, /* username */ options.username, /* username */
options.password, /* password */ options.password, /* password */
@@ -824,7 +823,6 @@ static svn_error_t *checkout_svn(const char *url, const char *path)
NULL, /* cancel_func */ NULL, /* cancel_func */
NULL, /* cancel_baton */ NULL, /* cancel_baton */
pool); pool);
ctx->auth_baton = ab;
err = svn_client_checkout3(&revnum, url, path, err = svn_client_checkout3(&revnum, url, path,
&peg_revision, &revision, &peg_revision, &revision,