Fix uninitialized variable
r2269 | dcl | 2008-01-15 12:21:08 +1100 (Tue, 15 Jan 2008) | 2 lines
This commit is contained in:
@@ -405,7 +405,7 @@ static int AnstoHttpStatus_Base(pHistDriver self,SConnection *pCon,int *pextrast
|
|||||||
break;
|
break;
|
||||||
case ghttp_not_done:
|
case ghttp_not_done:
|
||||||
// MJL this is not a problem, the server is just slow.
|
// MJL this is not a problem, the server is just slow.
|
||||||
// return HWRedo not HWBusy (original) or falut
|
// return HWRedo not HWBusy (original) or fault
|
||||||
return HWRedo;
|
return HWRedo;
|
||||||
break;
|
break;
|
||||||
case ghttp_done:
|
case ghttp_done:
|
||||||
@@ -499,7 +499,7 @@ static int AnstoHttpStatusWithRetries(pHistDriver self, int requiredstate,SConne
|
|||||||
int retcode,runloop;
|
int retcode,runloop;
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
int extrastatus;
|
int extrastatus=ANSTO_HS_STATUS_INVALID;
|
||||||
// Request current status from the histogram server.
|
// Request current status from the histogram server.
|
||||||
// The server usually responds within milliseconds.
|
// The server usually responds within milliseconds.
|
||||||
retcode=AnstoHttpStatus_Base(self,pCon,&extrastatus);
|
retcode=AnstoHttpStatus_Base(self,pCon,&extrastatus);
|
||||||
|
|||||||
Reference in New Issue
Block a user