changeset 50:7ab3fb870ef8

Remove unused variables
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Wed, 10 Oct 2012 13:18:00 +0200
parents a4c8db62a34b
children fbb172892253
files DDS_Fox.c FXAnalyse.cds FXAnalyse.cws
diffstat 3 files changed, 17 insertions(+), 21 deletions(-) [+]
line wrap: on
line diff
--- a/DDS_Fox.c	Wed Oct 10 13:12:57 2012 +0200
+++ b/DDS_Fox.c	Wed Oct 10 13:18:00 2012 +0200
@@ -138,7 +138,6 @@
 }
 
 void DDSFox_SetFreqMax (DDSParameter *Param) {
-	double word ;
 	unsigned char octets[6];
 	char  Request[255]; 
 	convert_double_6char(pow(2,48)/2,octets);	 // borne sup : clock / 2
@@ -150,7 +149,6 @@
 }
 
 void DDSFox_SetFreqMin (DDSParameter *Param) {
-	double word ;
 	unsigned char octets[6];
 	char  Request[255]; 
 	convert_double_6char(1,octets);	 // borne inf : ~0
@@ -277,7 +275,6 @@
 	char  Request[255]; 
 	unsigned int OctetA, OctetB, OctetC, OctetD, OctetE, OctetF ;
 	double FreqRead ;
-	int cmd[20];
 	Command Rd;
 	init_command(&Rd);
 	sprintf(Request,"get;%i;%i",1,CMD_GET_FREQ); 
@@ -302,7 +299,6 @@
 int SendCmd(char *Buffer, DDSParameter *Param) {
 	unsigned int hConv=0;
 	char  Response[255];
-	char parsebuf[255];
 	if (ConnectToTCPServer (&hConv, Param->Port, Param->ip, OnTCPEvent, Response, 0) < 0) {
 		error("Connect failed");
 		return -1;
--- a/FXAnalyse.cds	Wed Oct 10 13:12:57 2012 +0200
+++ b/FXAnalyse.cds	Wed Oct 10 13:18:00 2012 +0200
@@ -6,7 +6,7 @@
 		<workingdir>workspacedir</workingdir>
 		<actions></actions></postbuild>
 	<msi GUID="{B33DEF13-BB3E-4080-AE98-C5CCC94A66DC}">
-		<general appName="FXAnalyse" outputLocation="p:\nicolodi\FXAnalyse\cvidistkit.FXAnalyse" relOutputLocation="cvidistkit.FXAnalyse" outputLocationWithVars="p:\nicolodi\FXAnalyse\cvidistkit.%name" relOutputLocationWithVars="cvidistkit.%name" upgradeBehavior="1" autoIncrement="true" version="7.1.21">
+		<general appName="FXAnalyse" outputLocation="p:\nicolodi\FXAnalyse\cvidistkit.FXAnalyse" relOutputLocation="cvidistkit.FXAnalyse" outputLocationWithVars="p:\nicolodi\FXAnalyse\cvidistkit.%name" relOutputLocationWithVars="cvidistkit.%name" upgradeBehavior="1" autoIncrement="true" version="7.1.23">
 			<arp company="" companyURL="" supportURL="" contact="" phone="" comments=""/>
 			<summary title="" subject="" keyWords="" comments="" author=""/></general>
 		<userinterface language="English" showPaths="true" readMe="" license="">
@@ -47,14 +47,14 @@
 			<signDescURL></signDescURL></advanced>
 		<Projects NumProjects="1">
 			<Project000 ProjectID="0" ProjectAbsolutePath="p:\nicolodi\FXAnalyse\FXAnalyse.prj" ProjectRelativePath="FXAnalyse.prj"/></Projects>
-		<buildData progressBarRate="4.433489100050336">
+		<buildData progressBarRate="4.419985742281523">
 			<progressTimes>
 				<Begin>0.000000000000000</Begin>
-				<ProductsAdded>0.233755940889626</ProductsAdded>
-				<DPConfigured>1.254365655929310</DPConfigured>
-				<DPMergeModulesAdded>9.596767550412119</DPMergeModulesAdded>
-				<DPClosed>13.057413463728382</DPClosed>
-				<DistributionsCopied>13.450517095926928</DistributionsCopied>
-				<End>22.555598478603375</End></progressTimes></buildData>
+				<ProductsAdded>0.256015735222412</ProductsAdded>
+				<DPConfigured>2.422809913982324</DPConfigured>
+				<DPMergeModulesAdded>10.533414137603026</DPMergeModulesAdded>
+				<DPClosed>13.748574365932102</DPClosed>
+				<DistributionsCopied>14.071850273981729</DistributionsCopied>
+				<End>22.624507369650850</End></progressTimes></buildData>
 	</msi>
 </distribution>
--- a/FXAnalyse.cws	Wed Oct 10 13:12:57 2012 +0200
+++ b/FXAnalyse.cws	Wed Oct 10 13:18:00 2012 +0200
@@ -41,7 +41,7 @@
 Version = 910
 Don't Update DistKit = False
 Platform Code = 4
-Build Configuration = "Debug"
+Build Configuration = "Release"
 Build Platform = "Intel 32-bit"
 Warn User If Debugging Release = 1
 Batch Build Release = False
@@ -51,12 +51,12 @@
 [File 0001]
 Path = "/p/nicolodi/FXAnalyse/FXAnalyse.c"
 File Type = "CSource"
-Disk Date = 3432711492
+Disk Date = 3432712375
 In Projects = "1,"
 Window Top = 32
 Window Left = 6
-Window Z-Order = 1
-Source Window State = "1,2296,2296,2296,27,32,27,0,0,163,0,2500,0,0,0,58,192,0,1249,50,401,685,1,11,"
+Window Z-Order = 3
+Source Window State = "1,2296,2296,2296,27,32,27,0,0,80,0,2500,0,0,0,25,372,0,1249,50,401,685,1,11,"
 
 [File 0002]
 Path = "/m/mes documents/Téléchargements/DDSdrivers/DDS4xAD9912.c"
@@ -81,7 +81,7 @@
 [File 0004]
 Path = "/p/nicolodi/FXAnalyse/FXAnalyse.h"
 File Type = "Include"
-Disk Date = 3432711320
+Disk Date = 3432712375
 In Projects = "1,"
 Window Top = 32
 Window Left = 6
@@ -97,17 +97,17 @@
 Window Left = 38
 Window Height = 349
 Window Width = 683
-Window Z-Order = 3
+Window Z-Order = 4
 
 [File 0006]
 Path = "/p/nicolodi/FXAnalyse/DDS_Fox.c"
 File Type = "CSource"
-Disk Date = 3432709088
+Disk Date = 3432712611
 In Projects = "1,"
 Window Top = 62
 Window Left = 22
-Window Z-Order = 4
-Source Window State = "1,293,293,293,4,49,4,0,0,79,0,0,0,0,0,21,136,0,140,11,349,671,1,0,"
+Window Z-Order = 1
+Source Window State = "1,301,301,301,0,23,23,0,0,163,0,0,0,0,0,58,280,0,295,20,349,671,1,0,"
 
 [File 0007]
 Path = "/p/nicolodi/FXAnalyse/DDS4xAD9912.c"