svn commit: branches/uClibc-nptl/libpthread/nptl_db
sjhill at uclibc.org
sjhill at uclibc.org
Mon Aug 21 04:23:36 UTC 2006
Author: sjhill
Date: 2006-08-20 21:23:36 -0700 (Sun, 20 Aug 2006)
New Revision: 15868
Log:
Get rid of compiler warnings.
Modified:
branches/uClibc-nptl/libpthread/nptl_db/td_ta_event_addr.c
branches/uClibc-nptl/libpthread/nptl_db/td_ta_event_getmsg.c
branches/uClibc-nptl/libpthread/nptl_db/td_thr_clear_event.c
branches/uClibc-nptl/libpthread/nptl_db/td_thr_event_getmsg.c
branches/uClibc-nptl/libpthread/nptl_db/td_thr_set_event.c
branches/uClibc-nptl/libpthread/nptl_db/td_thr_validate.c
Changeset:
Modified: branches/uClibc-nptl/libpthread/nptl_db/td_ta_event_addr.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl_db/td_ta_event_addr.c 2006-08-21 04:19:36 UTC (rev 15867)
+++ branches/uClibc-nptl/libpthread/nptl_db/td_ta_event_addr.c 2006-08-21 04:23:36 UTC (rev 15868)
@@ -27,7 +27,7 @@
{
td_thragent_t *const ta = (td_thragent_t *) ta_arg;
td_err_e err;
- psaddr_t taddr;
+ psaddr_t taddr = NULL;
LOG ("td_ta_event_addr");
Modified: branches/uClibc-nptl/libpthread/nptl_db/td_ta_event_getmsg.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl_db/td_ta_event_getmsg.c 2006-08-21 04:19:36 UTC (rev 15867)
+++ branches/uClibc-nptl/libpthread/nptl_db/td_ta_event_getmsg.c 2006-08-21 04:23:36 UTC (rev 15868)
@@ -31,7 +31,7 @@
td_err_e err;
psaddr_t eventbuf, eventnum, eventdata;
psaddr_t thp, next;
- void *copy;
+ void *copy = NULL;
/* XXX I cannot think of another way but using a static variable. */
/* XXX Use at least __thread once it is possible. */
Modified: branches/uClibc-nptl/libpthread/nptl_db/td_thr_clear_event.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl_db/td_thr_clear_event.c 2006-08-21 04:19:36 UTC (rev 15867)
+++ branches/uClibc-nptl/libpthread/nptl_db/td_thr_clear_event.c 2006-08-21 04:23:36 UTC (rev 15868)
@@ -30,7 +30,7 @@
{
td_err_e err;
psaddr_t eventmask;
- void *copy;
+ void *copy = NULL;
LOG ("td_thr_clear_event");
Modified: branches/uClibc-nptl/libpthread/nptl_db/td_thr_event_getmsg.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl_db/td_thr_event_getmsg.c 2006-08-21 04:19:36 UTC (rev 15867)
+++ branches/uClibc-nptl/libpthread/nptl_db/td_thr_event_getmsg.c 2006-08-21 04:23:36 UTC (rev 15868)
@@ -28,7 +28,7 @@
td_err_e err;
psaddr_t eventbuf, eventnum, eventdata;
psaddr_t thp, prevp;
- void *copy;
+ void *copy = NULL;
LOG ("td_thr_event_getmsg");
Modified: branches/uClibc-nptl/libpthread/nptl_db/td_thr_set_event.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl_db/td_thr_set_event.c 2006-08-21 04:19:36 UTC (rev 15867)
+++ branches/uClibc-nptl/libpthread/nptl_db/td_thr_set_event.c 2006-08-21 04:23:36 UTC (rev 15868)
@@ -30,7 +30,7 @@
{
td_err_e err;
psaddr_t eventmask;
- void *copy;
+ void *copy = NULL;
LOG ("td_thr_set_event");
Modified: branches/uClibc-nptl/libpthread/nptl_db/td_thr_validate.c
===================================================================
--- branches/uClibc-nptl/libpthread/nptl_db/td_thr_validate.c 2006-08-21 04:19:36 UTC (rev 15867)
+++ branches/uClibc-nptl/libpthread/nptl_db/td_thr_validate.c 2006-08-21 04:23:36 UTC (rev 15868)
@@ -57,7 +57,7 @@
td_thr_validate (const td_thrhandle_t *th)
{
td_err_e err;
- psaddr_t list;
+ psaddr_t list = NULL;
LOG ("td_thr_validate");
More information about the uClibc-cvs
mailing list