From 25150b07cf76675d13cd73070835f58da40e0d57 Mon Sep 17 00:00:00 2001 From: Bjorn Winckler Date: Fri, 17 Aug 2012 18:57:02 +0200 Subject: [PATCH] Fix static analyzer warning in DBPrefs --- src/MacVim/DBPrefsWindowController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MacVim/DBPrefsWindowController.m b/src/MacVim/DBPrefsWindowController.m index b58696fe1b..ac9bf5ced7 100644 --- a/src/MacVim/DBPrefsWindowController.m +++ b/src/MacVim/DBPrefsWindowController.m @@ -392,7 +392,7 @@ static DBPrefsWindowController *_sharedPrefsWindowController = nil; NSEnumerator *subviewsEnum = [[contentSubview subviews] reverseObjectEnumerator]; // This is our visible view. Just get past it. - subview = [subviewsEnum nextObject]; + (void)[subviewsEnum nextObject]; // Remove everything else. There should be just one, but // if the user does a lot of fast clicking, we might have