Revision: 18357
http://bibdesk.svn.sourceforge.net/bibdesk/?rev=18357&view=rev
Author: hofman
Date: 2012-01-03 12:27:07 +0000 (Tue, 03 Jan 2012)
Log Message:
-----------
initialize variables to avoid compiler warning
Modified Paths:
--------------
trunk/bibdesk/BDSKFindController.m
trunk/bibdesk/BDSKSearchGroupSheetController.m
Modified: trunk/bibdesk/BDSKFindController.m
===================================================================
--- trunk/bibdesk/BDSKFindController.m 2012-01-03 12:26:36 UTC (rev 18356)
+++ trunk/bibdesk/BDSKFindController.m 2012-01-03 12:27:07 UTC (rev 18357)
@@ -228,7 +228,7 @@
- (BOOL)commitEditing {
id firstResponder = [[self window] firstResponder];
NSTextView *editor = nil;
- NSRange selection;
+ NSRange selection = {0, 0};
if ([firstResponder isKindOfClass:[NSTextView class]]) {
editor = firstResponder;
selection = [editor selectedRange];
Modified: trunk/bibdesk/BDSKSearchGroupSheetController.m
===================================================================
--- trunk/bibdesk/BDSKSearchGroupSheetController.m 2012-01-03 12:26:36 UTC
(rev 18356)
+++ trunk/bibdesk/BDSKSearchGroupSheetController.m 2012-01-03 12:27:07 UTC
(rev 18357)
@@ -397,7 +397,7 @@
- (BOOL)commitEditing {
id firstResponder = [[self window] firstResponder];
NSTextView *editor = nil;
- NSRange selection;
+ NSRange selection = {0, 0};
if ([firstResponder isKindOfClass:[NSTextView class]]) {
editor = firstResponder;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create
new or port existing apps to sell to consumers worldwide. Explore the
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev
_______________________________________________
Bibdesk-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bibdesk-commit