Revision: 7781
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7781&view=rev
Author:   hofman
Date:     2012-11-04 00:52:58 +0000 (Sun, 04 Nov 2012)
Log Message:
-----------
avoid compiler warnings

Modified Paths:
--------------
    trunk/PDFSelection_SKExtensions.m
    trunk/SKNoteTypeSheetController.m

Modified: trunk/PDFSelection_SKExtensions.m
===================================================================
--- trunk/PDFSelection_SKExtensions.m   2012-11-04 00:51:16 UTC (rev 7780)
+++ trunk/PDFSelection_SKExtensions.m   2012-11-04 00:52:58 UTC (rev 7781)
@@ -201,7 +201,7 @@
     return [self safeFirstPage] != nil;
 }
 
-static inline NSRange rangeOfSubstringOfStringAtIndex(NSString *string, 
NSArray *substrings, NSUInteger anIndex) {
+static NSRange rangeOfSubstringOfStringAtIndex(NSString *string, NSArray 
*substrings, NSUInteger anIndex) {
     if (anIndex >= [substrings count])
         return NSMakeRange(NSNotFound, 0);
     

Modified: trunk/SKNoteTypeSheetController.m
===================================================================
--- trunk/SKNoteTypeSheetController.m   2012-11-04 00:51:16 UTC (rev 7780)
+++ trunk/SKNoteTypeSheetController.m   2012-11-04 00:52:58 UTC (rev 7781)
@@ -170,9 +170,9 @@
        
     [self beginSheetModalForWindow:[delegate 
windowForNoteTypeSheetController:self] completionHandler:^(NSInteger result) {
             if (result == NSOKButton) {
-                NSUInteger i;
-                for (i = 0; i < NOTETYPES_COUNT; i++)
-                    [[noteTypeMenu itemAtIndex:i] setState:[(NSCell *)[matrix 
cellWithTag:i] state]];
+                NSUInteger idx;
+                for (idx = 0; idx < NOTETYPES_COUNT; idx++)
+                    [[noteTypeMenu itemAtIndex:idx] setState:[(NSCell 
*)[matrix cellWithTag:idx] state]];
                 [delegate noteTypeSheetControllerNoteTypesDidChange:self];
             }
         }];

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to