diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-08-21 04:23:36 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2006-08-21 04:23:36 +0000 |
commit | c1a6053c890d37c25fce66ffc65a4ede77093ee0 (patch) | |
tree | 8a897b620c65960cf3f0517e3e3c410f3a7ce8ac | |
parent | 1e24bd2651150011034ab221d00a1dc5abea31b2 (diff) | |
download | uClibc-alpine-c1a6053c890d37c25fce66ffc65a4ede77093ee0.tar.bz2 uClibc-alpine-c1a6053c890d37c25fce66ffc65a4ede77093ee0.tar.xz |
Get rid of compiler warnings.
-rw-r--r-- | libpthread/nptl_db/td_ta_event_addr.c | 2 | ||||
-rw-r--r-- | libpthread/nptl_db/td_ta_event_getmsg.c | 2 | ||||
-rw-r--r-- | libpthread/nptl_db/td_thr_clear_event.c | 2 | ||||
-rw-r--r-- | libpthread/nptl_db/td_thr_event_getmsg.c | 2 | ||||
-rw-r--r-- | libpthread/nptl_db/td_thr_set_event.c | 2 | ||||
-rw-r--r-- | libpthread/nptl_db/td_thr_validate.c | 2 |
6 files changed, 6 insertions, 6 deletions
diff --git a/libpthread/nptl_db/td_ta_event_addr.c b/libpthread/nptl_db/td_ta_event_addr.c index 37196e643..45c6b113d 100644 --- a/libpthread/nptl_db/td_ta_event_addr.c +++ b/libpthread/nptl_db/td_ta_event_addr.c @@ -27,7 +27,7 @@ td_ta_event_addr (const td_thragent_t *ta_arg, { 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"); diff --git a/libpthread/nptl_db/td_ta_event_getmsg.c b/libpthread/nptl_db/td_ta_event_getmsg.c index 6e68ff4ff..d3b46bd56 100644 --- a/libpthread/nptl_db/td_ta_event_getmsg.c +++ b/libpthread/nptl_db/td_ta_event_getmsg.c @@ -31,7 +31,7 @@ td_ta_event_getmsg (const td_thragent_t *ta_arg, td_event_msg_t *msg) 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. */ diff --git a/libpthread/nptl_db/td_thr_clear_event.c b/libpthread/nptl_db/td_thr_clear_event.c index fc999df9c..c43c625a4 100644 --- a/libpthread/nptl_db/td_thr_clear_event.c +++ b/libpthread/nptl_db/td_thr_clear_event.c @@ -30,7 +30,7 @@ td_thr_clear_event (th, event) { td_err_e err; psaddr_t eventmask; - void *copy; + void *copy = NULL; LOG ("td_thr_clear_event"); diff --git a/libpthread/nptl_db/td_thr_event_getmsg.c b/libpthread/nptl_db/td_thr_event_getmsg.c index 70ea6953e..b24fc25d7 100644 --- a/libpthread/nptl_db/td_thr_event_getmsg.c +++ b/libpthread/nptl_db/td_thr_event_getmsg.c @@ -28,7 +28,7 @@ td_thr_event_getmsg (const td_thrhandle_t *th, td_event_msg_t *msg) td_err_e err; psaddr_t eventbuf, eventnum, eventdata; psaddr_t thp, prevp; - void *copy; + void *copy = NULL; LOG ("td_thr_event_getmsg"); diff --git a/libpthread/nptl_db/td_thr_set_event.c b/libpthread/nptl_db/td_thr_set_event.c index 2bb0b9d1f..6617147a8 100644 --- a/libpthread/nptl_db/td_thr_set_event.c +++ b/libpthread/nptl_db/td_thr_set_event.c @@ -30,7 +30,7 @@ td_thr_set_event (th, event) { td_err_e err; psaddr_t eventmask; - void *copy; + void *copy = NULL; LOG ("td_thr_set_event"); diff --git a/libpthread/nptl_db/td_thr_validate.c b/libpthread/nptl_db/td_thr_validate.c index 3d560a621..19ee940d6 100644 --- a/libpthread/nptl_db/td_thr_validate.c +++ b/libpthread/nptl_db/td_thr_validate.c @@ -57,7 +57,7 @@ td_err_e td_thr_validate (const td_thrhandle_t *th) { td_err_e err; - psaddr_t list; + psaddr_t list = NULL; LOG ("td_thr_validate"); |