windows compiler warnings

This commit is contained in:
Jeff Lenk committed 2013-04-01 17:09:37 -05:00
1 parent 511b2fc49a
commit d627f7c23d
10 files changed
+29 -14

No files matched your search

+2 -2
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 */
+3
View File
@@ -50,6 +50,9 @@
# endif
#endif
#ifdef _MSC_VER
#pragma warning(disable:4100)
#endif
/* err_level reflects the level of errors that are reported */