Mesa (master): r300/compiler: Add return statement to rc_list()

Tom Stellard tstellar at kemper.freedesktop.org
Sat Apr 30 13:00:51 PDT 2011


Module: Mesa
Branch: master
Commit: d7cf9833d7138daa1c2acdc489ab0c86c2ea7e41
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=d7cf9833d7138daa1c2acdc489ab0c86c2ea7e41

Author: Tom Stellard <tstellar at gmail.com>
Date:   Sat Apr 30 12:52:32 2011 -0700

r300/compiler: Add return statement to rc_list()

---

 src/mesa/drivers/dri/r300/compiler/radeon_list.c |    2 ++
 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 9b2ba80..811c908 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)



More information about the mesa-commit mailing list