comparison LinkedList.c @ 15:b27f7ff5e44b

Needed return NULL.
author Eric Wing <ewing . public |-at-| gmail . com>
date Sat, 06 Nov 2010 03:25:25 -0700
parents 54aa96ae8912
children d58eb38c771b
comparison
equal deleted inserted replaced
14:1c27a52c5b15 15:b27f7ff5e44b
239 LinkedListNode* LinkedList_Find(LinkedList* linked_list, void* the_data, LinkedListNode* start_node) 239 LinkedListNode* LinkedList_Find(LinkedList* linked_list, void* the_data, LinkedListNode* start_node)
240 { 240 {
241 LinkedListNode* current_node; 241 LinkedListNode* current_node;
242 if(NULL == linked_list) 242 if(NULL == linked_list)
243 { 243 {
244 return; 244 return NULL;
245 } 245 }
246 if(NULL == start_node) 246 if(NULL == start_node)
247 { 247 {
248 start_node = linked_list->headPtr; 248 start_node = linked_list->headPtr;
249 } 249 }