Revision: 18130
          http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18130&view=rev
Author:   hofman
Date:     2011-09-16 11:13:03 +0000 (Fri, 16 Sep 2011)
Log Message:
-----------
avoid some compiler warnings

Modified Paths:
--------------
    trunk/bibdesk/BDSKSearchForCommand.m
    trunk/bibdesk/BibDocument_Toolbar.m

Modified: trunk/bibdesk/BDSKSearchForCommand.m
===================================================================
--- trunk/bibdesk/BDSKSearchForCommand.m        2011-09-16 11:11:31 UTC (rev 
18129)
+++ trunk/bibdesk/BDSKSearchForCommand.m        2011-09-16 11:13:03 UTC (rev 
18130)
@@ -125,7 +125,6 @@
        if (forCompletion) {
                // we're doing this for completion, so return a different 
array. Instead of an array of publications (BibItems) this will simply be an 
array of strings containing the cite key, the authors' surnames and the title 
for the publication. This could be sufficient for completion and allows the 
application possibly integrating with BibDesk to remain ignorant of the inner 
workings of BibItems.
                NSInteger i, n = [results count];
-               BibItem * result;
                for (i = 0; i < n; i++)
                        [results replaceObjectAtIndex:i withObject:[[results 
objectAtIndex:i] stringForCompletion]];
                // sort alphabetically

Modified: trunk/bibdesk/BibDocument_Toolbar.m
===================================================================
--- trunk/bibdesk/BibDocument_Toolbar.m 2011-09-16 11:11:31 UTC (rev 18129)
+++ trunk/bibdesk/BibDocument_Toolbar.m 2011-09-16 11:13:03 UTC (rev 18130)
@@ -40,6 +40,7 @@
 #import "BDSKToolbarItem.h"
 #import "BDSKImagePopUpButton.h"
 #import "BibDocument_Actions.h"
+#import "BibDocument_Search.h"
 #import "BDSKCustomCiteDrawerController.h"
 #import "NSEvent_BDSKExtensions.h"
 

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


------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit

Reply via email to