652 libc uninitialized variable
authorAlexander Stetsenko <ams@nexenta.com>
Thu, 20 Jan 2011 22:09:09 +0300
changeset 13269 52325acbd90e
parent 13268 b749961aba64
child 13270 33c640a24eb2
652 libc uninitialized variable Reviewed by: [email protected] Approved by: [email protected]
usr/src/lib/libc/port/gen/localtime.c
--- a/usr/src/lib/libc/port/gen/localtime.c	Wed Jan 19 08:12:06 2011 -0800
+++ b/usr/src/lib/libc/port/gen/localtime.c	Thu Jan 20 22:09:09 2011 +0300
@@ -20,7 +20,7 @@
  */
 
 /*
- * Copyright 2010 Nexenta Systems, Inc.  All rights reserved.
+ * Copyright 2011 Nexenta Systems, Inc.  All rights reserved.
  */
 
 /*
@@ -685,7 +685,7 @@
 	int	temp;
 	int	mketimerrno;
 	int	overflow;
-	void	*unused;
+	void	*unused = NULL;
 
 	mketimerrno = errno;