Fix clang warning about unused lambda capture.


This was found by a tip of tree build of clang.

Change-Id: I9aa3fecd47ae69350e8d58e796f960a991b7759e
Reviewed-on: https://skia-review.googlesource.com/7586
Commit-Queue: Brian Salomon <bsalomon@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
diff --git a/gm/showmiplevels.cpp b/gm/showmiplevels.cpp
index 36e8101..ba9f228 100644
--- a/gm/showmiplevels.cpp
+++ b/gm/showmiplevels.cpp
@@ -185,7 +185,7 @@
         orig.peekPixels(&basePM);
         for (auto method : methods) {
             canvas->translate(orig.width()/2 + 8.0f, 0);
-            drawLevels(canvas, orig, [basePM, method](const SkPixmap& prev, const SkPixmap& curr) {
+            drawLevels(canvas, orig, [method](const SkPixmap& prev, const SkPixmap& curr) {
                 SkBitmap bm;
                 SkBitmapScaler::Resize(&bm, prev, method, curr.width(), curr.height());
                 return bm;