Skip to content

Commit ce3578b

Browse files
committed
bcrypt: Drop unused structure member.
* subversion/libsvn_subr/checksum_bcrypt.c (bcrypt_ctx_t::algorithm): Remove. (bcrypt_ctx_init): Don't initialize that variable. git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1931080 13f79535-47bb-0310-9956-ffa450edef68
1 parent 360da82 commit ce3578b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

subversion/libsvn_subr/checksum_bcrypt.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@ algorithm_init(void *baton, apr_pool_t *null_pool)
8989
typedef struct bcrypt_ctx_t
9090
{
9191
BCRYPT_HASH_HANDLE handle;
92-
const algorithm_state_t *algorithm;
9392
} bcrypt_ctx_t;
9493

9594
/* A cleanup handler. */
@@ -121,7 +120,6 @@ bcrypt_ctx_init(bcrypt_ctx_t *ctx,
121120
/* dwFlags */ 0)));
122121

123122
ctx->handle = handle;
124-
ctx->algorithm = algorithm;
125123
return SVN_NO_ERROR;
126124
}
127125

0 commit comments

Comments
 (0)