From: fmalita@google.com Date: Wed, 12 Mar 2014 17:31:20 +0000 (+0000) Subject: Remove unused zero_fill() in GrAtlas.cpp X-Git-Tag: accepted/tizen/5.0/unified/20181102.025319~8687 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9d201d6364b259876abf80e26308320db925ced5;p=platform%2Fupstream%2FlibSkiaSharp.git Remove unused zero_fill() in GrAtlas.cpp 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 --- diff --git a/src/gpu/GrAtlas.cpp b/src/gpu/GrAtlas.cpp index 668a73a..349b47f 100644 --- a/src/gpu/GrAtlas.cpp +++ b/src/gpu/GrAtlas.cpp @@ -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)) {