Revision: 18475
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18475&view=rev
Author:   hofman
Date:     2012-02-03 12:04:07 +0000 (Fri, 03 Feb 2012)
Log Message:
-----------
don't pass ignored error

Modified Paths:
--------------
    trunk/bibdesk/BibDocument_Actions.m

Modified: trunk/bibdesk/BibDocument_Actions.m
===================================================================
--- trunk/bibdesk/BibDocument_Actions.m 2012-02-03 10:38:30 UTC (rev 18474)
+++ trunk/bibdesk/BibDocument_Actions.m 2012-02-03 12:04:07 UTC (rev 18475)
@@ -1441,7 +1441,6 @@
     NSString *type = [pasteboard availableTypeFromArray:[NSArray 
arrayWithObjects:BDSKReferenceMinerStringPboardType, BDSKBibItemPboardType, 
NSStringPboardType, nil]];
     
     if(type != nil){
-        NSError *error = nil;
         BOOL isKnownFormat = YES;
                if([type isEqualToString:NSStringPboardType]){
                        // sniff the string to see if we should add it directly
@@ -1449,7 +1448,7 @@
                        isKnownFormat = ([pboardString contentStringType] != 
BDSKUnknownStringType);
                }
                
-        NSArray *newPubs = isKnownFormat ? [self 
addPublicationsFromPasteboard:pasteboard selectLibrary:YES verbose:NO 
error:&error] : nil;
+        NSArray *newPubs = isKnownFormat ? [self 
addPublicationsFromPasteboard:pasteboard selectLibrary:YES verbose:NO 
error:NULL] : nil;
         if([newPubs count] > 0)
             return; // it worked, so we're done here
     }

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


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to