From: Tom Stellard Date: Sat, 30 Apr 2011 19:52:32 +0000 (-0700) Subject: r300/compiler: Add return statement to rc_list() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d7cf9833d7138daa1c2acdc489ab0c86c2ea7e41;p=mesa.git r300/compiler: Add return statement to rc_list() --- diff --git a/src/mesa/drivers/dri/r300/compiler/radeon_list.c b/src/mesa/drivers/dri/r300/compiler/radeon_list.c index 9b2ba80a8fa..811c908a81a 100644 --- a/src/mesa/drivers/dri/r300/compiler/radeon_list.c +++ b/src/mesa/drivers/dri/r300/compiler/radeon_list.c @@ -38,6 +38,8 @@ struct rc_list * rc_list(struct memory_pool * pool, void * item) new->Item = item; new->Next = NULL; new->Prev = NULL; + + return new; } void rc_list_add(struct rc_list ** list, struct rc_list * new_value)