changeset 112:e501896c0e7c

Avoid compilation warning
author Daniele Nicolodi <daniele.nicolodi@obspm.fr>
date Tue, 02 Jul 2013 12:58:34 +0200
parents 8bdd7e38715f
children 6691728a0c58
files DDS4xAD9912.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/DDS4xAD9912.c	Tue Jul 02 12:58:01 2013 +0200
+++ b/DDS4xAD9912.c	Tue Jul 02 12:58:34 2013 +0200
@@ -47,7 +47,7 @@
 
 static int DDS4xAD9912_SendCmd(int DDSNum, char * Buffer)
 {
-	int port;
+	int port = 0;
 	int rv;
 
 	switch (DDSNum) {