diff DDS_Fox.c @ 50:7ab3fb870ef8

Remove unused variables
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Wed, 10 Oct 2012 13:18:00 +0200
parents b47b97cfd050
children 2320f5fc66aa
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;