nps: poci/nws_hb.c - nws_hb.c:104: warning: `addr' might be used u...
baggins
baggins at pld-linux.org
Tue Sep 13 14:46:24 CEST 2005
Author: baggins Date: Tue Sep 13 12:46:24 2005 GMT
Module: nps Tag: HEAD
---- Log message:
- nws_hb.c:104: warning: `addr' might be used uninitialized in this function
initialize `addr'
---- Files affected:
nps/poci:
nws_hb.c (1.1.1.1 -> 1.2)
---- Diffs:
================================================================
Index: nps/poci/nws_hb.c
diff -u nps/poci/nws_hb.c:1.1.1.1 nps/poci/nws_hb.c:1.2
--- nps/poci/nws_hb.c:1.1.1.1 Mon Jul 25 21:42:57 2005
+++ nps/poci/nws_hb.c Tue Sep 13 14:46:19 2005
@@ -101,7 +101,7 @@
void hbHandler(void)
{
int i, cpus;
- unsigned long addr;
+ unsigned long addr = S_CPU0_HEARTBEAT;
unsigned char tick;
unsigned char prodID;
================================================================
---- CVS-web:
http://cvs.pld-linux.org/nps/poci/nws_hb.c?r1=1.1.1.1&r2=1.2&f=u
More information about the pld-cvs-commit
mailing list