Revision: 7830
          http://skim-app.svn.sourceforge.net/skim-app/?rev=7830&view=rev
Author:   amaxwell
Date:     2012-12-10 18:23:21 +0000 (Mon, 10 Dec 2012)
Log Message:
-----------
Xcode 4 parentheses warning

Modified Paths:
--------------
    trunk/SkimNotes/NSFileManager_SKNToolExtensions.m
    trunk/SkimNotes/PDFDocument_SKNExtensions.m

Modified: trunk/SkimNotes/NSFileManager_SKNToolExtensions.m
===================================================================
--- trunk/SkimNotes/NSFileManager_SKNToolExtensions.m   2012-12-10 18:22:20 UTC 
(rev 7829)
+++ trunk/SkimNotes/NSFileManager_SKNToolExtensions.m   2012-12-10 18:23:21 UTC 
(rev 7830)
@@ -198,13 +198,13 @@
     if ([extension caseInsensitiveCompare:PDFD_EXTENSION] == NSOrderedSame) {
         NSString *notePath;
 #if MAC_OS_X_VERSION_MIN_REQUIRED > MAC_OS_X_VERSION_10_4
-        if (notePath = [self notesFileWithExtension:SKIM_EXTENSION atPath:path 
error:NULL])
+        if ((notePath = [self notesFileWithExtension:SKIM_EXTENSION 
atPath:path error:NULL]))
             success1 = [self removeItemAtPath:notePath error:NULL];
-        if (notePath = [self notesFileWithExtension:TXT_EXTENSION atPath:path 
error:NULL])
+        if ((notePath = [self notesFileWithExtension:TXT_EXTENSION atPath:path 
error:NULL]))
             success2 = [self removeItemAtPath:notePath error:NULL];
-        if (notePath = [self notesFileWithExtension:RTF_EXTENSION atPath:path 
error:NULL])
+        if ((notePath = [self notesFileWithExtension:RTF_EXTENSION atPath:path 
error:NULL]))
             success3 = [self removeItemAtPath:notePath error:NULL];
-        if (notePath = [self notesFileWithExtension:FDF_EXTENSION atPath:path 
error:NULL])
+        if ((notePath = [self notesFileWithExtension:FDF_EXTENSION atPath:path 
error:NULL]))
             [self removeItemAtPath:notePath error:NULL];
 #else
         if (notePath = [self notesFileWithExtension:SKIM_EXTENSION atPath:path 
error:NULL])

Modified: trunk/SkimNotes/PDFDocument_SKNExtensions.m
===================================================================
--- trunk/SkimNotes/PDFDocument_SKNExtensions.m 2012-12-10 18:22:20 UTC (rev 
7829)
+++ trunk/SkimNotes/PDFDocument_SKNExtensions.m 2012-12-10 18:23:21 UTC (rev 
7830)
@@ -76,7 +76,7 @@
     // create new annotations from the dictionary and add them to their page 
and to the document
     while (dict = [e nextObject]) {
         NSUInteger pageIndex = [[dict 
objectForKey:SKNPDFAnnotationPageIndexKey] unsignedIntValue];
-        if (annotation = [[PDFAnnotation alloc] 
initSkimNoteWithProperties:dict]) {
+        if ((annotation = [[PDFAnnotation alloc] 
initSkimNoteWithProperties:dict])) {
             if (pageIndex == NSNotFound || pageIndex == INT_MAX)
                 pageIndex = 0;
             else if (pageIndex >= [self pageCount])

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


------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to