All submissions to this site are governed by the Second Life Viewer Contribution Agreement. By submitting patches and other information using this site, you acknowledge that you have read, understood, and agreed to those terms.

Review Board 1.6.11

Welcome to the Second Life Viewer Code Review tool.
See the documentation on our wiki for how to use this site.

VWR-24337: Possible crash on llassert_always(purge_list.size() >= entries_to_purge)

Review Request #93 - Created Jan. 14, 2011 and submitted

Aleric Inglewood Reviewers
viewer
VWR-24337
None viewer-development
Just fixed the logic, so entries_to_purge won't become negative anymore, and the rest.

 
Review request changed
Updated (Jan. 21, 2011, 4:25 a.m.)
The new diff uses while(purge_list.size() < entries_to_purge), instead of a for() loop.
Ship it!
Posted (Jan. 21, 2011, 10:14 a.m.)
Better! You may want to reword a bit the comment above the "while()" statement though.