Fix static analyzer warning in DBPrefs

This commit is contained in:
Bjorn Winckler
2012-08-17 18:57:02 +02:00
parent 8545368b42
commit 25150b07cf
+1 -1
View File
@@ -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