From 90096b619b5466d13357d1302ed2488889ff048d Mon Sep 17 00:00:00 2001 From: "edisonn@google.com" Date: Wed, 6 Feb 2013 13:43:58 +0000 Subject: Small code cleaup: remove redundant if unreviewd, comment from previous cl git-svn-id: http://skia.googlecode.com/svn/trunk@7611 2bbb7eff-a529-9590-31e7-b0007b416f81 --- src/pdf/SkPDFDevice.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/pdf/SkPDFDevice.cpp b/src/pdf/SkPDFDevice.cpp index 00411a195a..cb20dd0938 100644 --- a/src/pdf/SkPDFDevice.cpp +++ b/src/pdf/SkPDFDevice.cpp @@ -500,10 +500,6 @@ struct ContentEntry { // So we manually destruct the object. ~ContentEntry() { ContentEntry* val = fNext.release(); - if (NULL == val) { - return; - } - while (val != NULL) { ContentEntry* valNext = val->fNext.release(); // When the destructor is called, fNext is NULL and exits. -- cgit v1.2.3