Remove unused zero_fill() in GrAtlas.cpp
authorfmalita@google.com <fmalita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 12 Mar 2014 17:31:20 +0000 (17:31 +0000)
committerfmalita@google.com <fmalita@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Wed, 12 Mar 2014 17:31:20 +0000 (17:31 +0000)
Triggers warnings with some local clang builds.

R=jvanverth@google.com

Review URL: https://codereview.chromium.org/197663003

git-svn-id: http://skia.googlecode.com/svn/trunk@13773 2bbb7eff-a529-9590-31e7-b0007b416f81

src/gpu/GrAtlas.cpp

index 668a73a..349b47f 100644 (file)
@@ -60,11 +60,6 @@ static inline void adjust_for_offset(GrIPoint16* loc, const GrIPoint16& offset)
     loc->fY += offset.fY * GR_ATLAS_HEIGHT;
 }
 
-static inline uint8_t* zero_fill(uint8_t* ptr, size_t count) {
-    sk_bzero(ptr, count);
-    return ptr + count;
-}
-
 bool GrPlot::addSubImage(int width, int height, const void* image,
                           GrIPoint16* loc) {
     if (!fRects->addRect(width, height, loc)) {