[Pcsclite-cvs-commit] r373 - trunk/CocoaCard

Ludovic Rousseau rousseau at costa.debian.org
Mon Feb 6 10:26:42 UTC 2006


Author: rousseau
Date: 2006-02-06 10:26:41 +0000 (Mon, 06 Feb 2006)
New Revision: 373

Modified:
   trunk/CocoaCard/BundleToolController.m
   trunk/CocoaCard/ObjectUtilsController.m
   trunk/CocoaCard/PINInfoController.m
   trunk/CocoaCard/StatusInfoController.m
Log:
initialise some variables to NULL to avoid a compiler warning


Modified: trunk/CocoaCard/BundleToolController.m
===================================================================
--- trunk/CocoaCard/BundleToolController.m	2006-02-06 10:24:47 UTC (rev 372)
+++ trunk/CocoaCard/BundleToolController.m	2006-02-06 10:26:41 UTC (rev 373)
@@ -97,7 +97,7 @@
 
 - (IBAction) selectedItem : (id) sender
 {
-    NSBox *newView;
+    NSBox *newView = NULL;
     int index = [controlBox indexOfSelectedItem];
     
     switch (index) {

Modified: trunk/CocoaCard/ObjectUtilsController.m
===================================================================
--- trunk/CocoaCard/ObjectUtilsController.m	2006-02-06 10:24:47 UTC (rev 372)
+++ trunk/CocoaCard/ObjectUtilsController.m	2006-02-06 10:26:41 UTC (rev 373)
@@ -43,7 +43,7 @@
 
 - (IBAction) selectedItem : (id) sender
 {
-    NSBox *newView;
+    NSBox *newView = NULL;
     int index = [controlBox indexOfSelectedItem];
     
     switch (index) {

Modified: trunk/CocoaCard/PINInfoController.m
===================================================================
--- trunk/CocoaCard/PINInfoController.m	2006-02-06 10:24:47 UTC (rev 372)
+++ trunk/CocoaCard/PINInfoController.m	2006-02-06 10:26:41 UTC (rev 373)
@@ -59,7 +59,7 @@
 
 - (IBAction) selectedItem : (id) sender
 {
-    NSBox *newView;
+    NSBox *newView = NULL;
     int index = [[controlBox selectedItem] tag];
     
     switch (index) {

Modified: trunk/CocoaCard/StatusInfoController.m
===================================================================
--- trunk/CocoaCard/StatusInfoController.m	2006-02-06 10:24:47 UTC (rev 372)
+++ trunk/CocoaCard/StatusInfoController.m	2006-02-06 10:26:41 UTC (rev 373)
@@ -81,7 +81,7 @@
 
 - (IBAction) selectedItem : (id) sender
 {
-    NSBox *newView;
+    NSBox *newView = NULL;
     int index = [controlBox indexOfSelectedItem];
     
     switch (index) {




More information about the Pcsclite-cvs-commit mailing list