[Pcsclite-cvs-commit] r375 - trunk/CocoaCard
Ludovic Rousseau
rousseau at costa.debian.org
Mon Feb 6 10:30:57 UTC 2006
Author: rousseau
Date: 2006-02-06 10:30:55 +0000 (Mon, 06 Feb 2006)
New Revision: 375
Modified:
trunk/CocoaCard/KEYInfoController.m
trunk/CocoaCard/MainCardObject.m
Log:
initialise some variables to avoid a compiler warning
Modified: trunk/CocoaCard/KEYInfoController.m
===================================================================
--- trunk/CocoaCard/KEYInfoController.m 2006-02-06 10:28:51 UTC (rev 374)
+++ trunk/CocoaCard/KEYInfoController.m 2006-02-06 10:30:55 UTC (rev 375)
@@ -134,7 +134,7 @@
- (IBAction) selectedItem : (id) sender
{
- NSBox *newView;
+ NSBox *newView = NULL;
int index = [controlBox indexOfSelectedItem];
printf("Selected index: %d\n", index);
Modified: trunk/CocoaCard/MainCardObject.m
===================================================================
--- trunk/CocoaCard/MainCardObject.m 2006-02-06 10:28:51 UTC (rev 374)
+++ trunk/CocoaCard/MainCardObject.m 2006-02-06 10:30:55 UTC (rev 375)
@@ -556,7 +556,7 @@
- (void) formatCard : (MSCInitTokenParams *) initParams
{
- MSC_RV rv;
+ MSC_RV rv = 0;
int tokenIndex = [tokenComboBox indexOfSelectedItem];
printf("H1\n");
More information about the Pcsclite-cvs-commit
mailing list