summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/r300
diff options
context:
space:
mode:
authorTom Stellard <[email protected]>2011-04-30 12:52:32 -0700
committerTom Stellard <[email protected]>2011-04-30 12:57:09 -0700
commitd7cf9833d7138daa1c2acdc489ab0c86c2ea7e41 (patch)
tree3919080065fc6ffb32e336c73348071ca4473a86 /src/mesa/drivers/dri/r300
parent7edf7d1169eb1efe5f24abc9e5e3f4ef04057c3b (diff)
r300/compiler: Add return statement to rc_list()
Diffstat (limited to 'src/mesa/drivers/dri/r300')
-rw-r--r--src/mesa/drivers/dri/r300/compiler/radeon_list.c2
1 files changed, 2 insertions, 0 deletions
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)