Revision: 4179
          http://skim-app.svn.sourceforge.net/skim-app/?rev=4179&view=rev
Author:   hofman
Date:     2008-07-10 05:39:21 -0700 (Thu, 10 Jul 2008)

Log Message:
-----------
Avoid compiler warning.

Modified Paths:
--------------
    trunk/SKPDFSynchronizer.m

Modified: trunk/SKPDFSynchronizer.m
===================================================================
--- trunk/SKPDFSynchronizer.m   2008-07-10 12:30:55 UTC (rev 4178)
+++ trunk/SKPDFSynchronizer.m   2008-07-10 12:39:21 UTC (rev 4179)
@@ -153,9 +153,11 @@
 }
 
 - (NSString *)fileName {
+    NSString *file = nil;
     @synchronized(self) {
-        return [[fileName retain] autorelease];
+        file = [[fileName retain] autorelease];
     }
+    return file;
 }
 
 - (void)setFileName:(NSString *)newFileName {
@@ -172,9 +174,11 @@
 }
 
 - (NSDate *)lastModDate {
+    NSDate *date = nil;
     @synchronized(self) {
-        return [[lastModDate retain] autorelease];
+        date = [[lastModDate retain] autorelease];
     }
+    return date;
 }
 
 - (void)setLastModDate:(NSDate *)date {


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

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to