Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/opencrypto avoid some uninitialised warning issues GCC 4...
details: https://anonhg.NetBSD.org/src/rev/b12b90abc3ff
branches: trunk
changeset: 766826:b12b90abc3ff
user: mrg <mrg%NetBSD.org@localhost>
date: Sun Jul 03 01:01:06 2011 +0000
description:
avoid some uninitialised warning issues GCC 4.5 complains about.
diffstat:
sys/opencrypto/deflate.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3dc4fd939a56 -r b12b90abc3ff sys/opencrypto/deflate.c
--- a/sys/opencrypto/deflate.c Sat Jul 02 23:36:02 2011 +0000
+++ b/sys/opencrypto/deflate.c Sun Jul 03 01:01:06 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: deflate.c,v 1.20 2011/03/09 11:36:43 drochner Exp $ */
+/* $NetBSD: deflate.c,v 1.21 2011/07/03 01:01:06 mrg Exp $ */
/* $FreeBSD: src/sys/opencrypto/deflate.c,v 1.1.2.1 2002/11/21 23:34:23 sam Exp $ */
/* $OpenBSD: deflate.c,v 1.3 2001/08/20 02:45:22 hugh Exp $ */
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: deflate.c,v 1.20 2011/03/09 11:36:43 drochner Exp $");
+__KERNEL_RCSID(0, "$NetBSD: deflate.c,v 1.21 2011/07/03 01:01:06 mrg Exp $");
#include <sys/types.h>
#include <sys/malloc.h>
@@ -234,7 +234,7 @@
int error, i, j;
struct deflate_buf buf[ZBUF];
u_int32_t crc;
- u_int32_t isize, icrc;
+ u_int32_t isize = 0, icrc = 0;
DPRINTF(("gzip_global: decomp %d, size %d\n", decomp, size));
Home |
Main Index |
Thread Index |
Old Index