652 libc uninitialized variable
Reviewed by:
[email protected]
Approved by:
[email protected]
--- 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;