Fix uninitialized variable

r2269 | dcl | 2008-01-15 12:21:08 +1100 (Tue, 15 Jan 2008) | 2 lines
This commit is contained in:
Douglas Clowes
2008-01-15 12:21:08 +11:00
parent fe2eabfc33
commit 8325c68cea

View File

@@ -405,7 +405,7 @@ static int AnstoHttpStatus_Base(pHistDriver self,SConnection *pCon,int *pextrast
break;
case ghttp_not_done:
// 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;
break;
case ghttp_done:
@@ -499,7 +499,7 @@ static int AnstoHttpStatusWithRetries(pHistDriver self, int requiredstate,SConne
int retcode,runloop;
do
{
int extrastatus;
int extrastatus=ANSTO_HS_STATUS_INVALID;
// Request current status from the histogram server.
// The server usually responds within milliseconds.
retcode=AnstoHttpStatus_Base(self,pCon,&extrastatus);