changed order of declaration/initialization of variables to prevent some warnings
authoretisserant
Fri, 25 Jan 2008 08:20:11 +0100
changeset 368 7b51757bfc81
parent 367 53cc6e982ea7
child 369 8b67289d50b5
changed order of declaration/initialization of variables to prevent some warnings
src/dcf.c
--- a/src/dcf.c	Fri Jan 25 08:18:20 2008 +0100
+++ b/src/dcf.c	Fri Jan 25 08:20:11 2008 +0100
@@ -111,9 +111,9 @@
   //while (nodeId < d->dcf_odentry->bSubCount){
   while (d->dcf_request>0){
   	if(d->dcf_odentry->pSubindex[nodeId].bAccessType & DCF_TO_SEND){   	 
+        UNS8* dcfend;
   		UNS32 nb_entries;
-   		UNS8 szData = d->dcf_odentry->pSubindex[nodeId].size;
-   		UNS8* dcfend;
+  		UNS8 szData = d->dcf_odentry->pSubindex[nodeId].size;
       	 
    		{
 	   		UNS8* dcf = *((UNS8**)d->dcf_odentry->pSubindex[nodeId].pObject);