On the success page, you want to be able to show the cart items that where purchased along with the thank you message.
The quick cart is on the page before the code to clear the cart.
A quick cart is not necessary on the success page. It should not be included in that page.