Revision: 3568
http://skim-app.svn.sourceforge.net/skim-app/?rev=3568&view=rev
Author: hofman
Date: 2008-03-27 17:58:09 -0700 (Thu, 27 Mar 2008)
Log Message:
-----------
Avoid shadowed variable.
Modified Paths:
--------------
trunk/SKAgentListener.m
Modified: trunk/SKAgentListener.m
===================================================================
--- trunk/SKAgentListener.m 2008-03-28 00:48:35 UTC (rev 3567)
+++ trunk/SKAgentListener.m 2008-03-28 00:58:09 UTC (rev 3568)
@@ -85,8 +85,8 @@
if ([files containsObject:filename] == NO) {
filename = [[[path lastPathComponent]
stringByDeletingPathExtension] stringByAppendingPathExtension:extension];
if ([files containsObject:filename] == NO) {
- unsigned index = [[files
valueForKeyPath:@"pathExtension.lowercaseString"] indexOfObject:@"skim"];
- filename = index == NSNotFound ? nil : [files
objectAtIndex:index];
+ unsigned idx = [[files
valueForKeyPath:@"pathExtension.lowercaseString"] indexOfObject:@"skim"];
+ filename = idx == NSNotFound ? nil : [files objectAtIndex:idx];
}
}
if (filename)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit