summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl_db/td_thr_event_getmsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'libpthread/nptl_db/td_thr_event_getmsg.c')
-rw-r--r--libpthread/nptl_db/td_thr_event_getmsg.c2
1 files changed, 1 insertions, 1 deletions
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");