windows compiler warnings

This commit is contained in:
Jeff Lenk
2013-04-01 17:09:37 -05:00
parent 511b2fc49a
commit d627f7c23d
10 changed files with 29 additions and 14 deletions

View File

@@ -300,7 +300,7 @@ crypto_kernel_shutdown() {
static inline err_status_t
crypto_kernel_do_load_cipher_type(cipher_type_t *new_ct, cipher_type_id_t id,
int replace) {
kernel_cipher_type_t *ctype, *new_ctype;
kernel_cipher_type_t *ctype, *new_ctype = 0;
err_status_t status;
/* defensive coding */
@@ -370,7 +370,7 @@ crypto_kernel_replace_cipher_type(cipher_type_t *new_ct, cipher_type_id_t id) {
err_status_t
crypto_kernel_do_load_auth_type(auth_type_t *new_at, auth_type_id_t id,
int replace) {
kernel_auth_type_t *atype, *new_atype;
kernel_auth_type_t *atype, *new_atype = 0;
err_status_t status;
/* defensive coding */