From: Charlie Brej Date: Sat, 28 Nov 2009 23:52:53 +0000 (+0000) Subject: [list] Initialise node in the get Nth function X-Git-Tag: 0.8.0~96 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=53563a3fc465df1c488d25a7654b44d81443e44e;p=thirdparty%2Fplymouth.git [list] Initialise node in the get Nth function Typo in the previous patch. --- diff --git a/src/libply/ply-list.c b/src/libply/ply-list.c index 32d65d91..5e7db4e4 100644 --- a/src/libply/ply-list.c +++ b/src/libply/ply-list.c @@ -269,6 +269,7 @@ ply_list_get_nth_node (ply_list_t *list, int index) { ply_list_node_t *node; + node = list->first_node; if (index < 0) return NULL; if (index >= list->number_of_nodes)