From d7cf9833d7138daa1c2acdc489ab0c86c2ea7e41 Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Sat, 30 Apr 2011 12:52:32 -0700 Subject: [PATCH] r300/compiler: Add return statement to rc_list() --- src/mesa/drivers/dri/r300/compiler/radeon_list.c | 2 ++ 1 file changed, 2 insertions(+) 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) -- 2.30.2