diff options
author | Wenji Huang <wenji.huang@oracle.com> | 2008-10-17 00:50:28 -0400 |
---|---|---|
committer | Wenji Huang <wenji.huang@oracle.com> | 2008-10-17 00:50:28 -0400 |
commit | 569f88af768ea1224ec536e592f1e16e45c0395d (patch) | |
tree | 753449aa8bf48a09d48c3d801f584aa011b887dd /runtime/task_finder_vma.c | |
parent | 927b945c9ab8060f9929ad72ac126b65c8ee49d3 (diff) | |
download | systemtap-steved-569f88af768ea1224ec536e592f1e16e45c0395d.tar.gz systemtap-steved-569f88af768ea1224ec536e592f1e16e45c0395d.tar.xz systemtap-steved-569f88af768ea1224ec536e592f1e16e45c0395d.zip |
Fix compilation warning of uninitialized value in gcc 3.x.
Diffstat (limited to 'runtime/task_finder_vma.c')
-rw-r--r-- | runtime/task_finder_vma.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/task_finder_vma.c b/runtime/task_finder_vma.c index 8c60175e..4dce4be8 100644 --- a/runtime/task_finder_vma.c +++ b/runtime/task_finder_vma.c @@ -60,7 +60,7 @@ __stp_tf_vma_get_free_entry(void) { struct hlist_head *head = &__stp_tf_vma_free_list[0]; struct hlist_node *node; - struct __stp_tf_vma_entry *entry; + struct __stp_tf_vma_entry *entry = NULL; if (hlist_empty(head)) return NULL; |