From 1ec49a4a06b6d26db536fdadb7a871bb9f2593eb Mon Sep 17 00:00:00 2001 From: jdolan Date: Fri, 3 May 2013 02:59:10 -0400 Subject: [PATCH] Don't ignore return value of g_slist_append. --- radiant/mainframe.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/radiant/mainframe.cpp b/radiant/mainframe.cpp index 959e6dfe..3d94b5d4 100644 --- a/radiant/mainframe.cpp +++ b/radiant/mainframe.cpp @@ -3060,8 +3060,7 @@ void RefreshModelSkin( GSList **pModels, entitymodel_t *model ){ #endif // and also keeping it so we have an actual count of empty models - // jdolan: FIXME uhm, shouldn't we track the return value from this append? - g_slist_append( *pModels, model ); + *pModels = g_slist_append( *pModels, model ); return; } // do we have this model already?