@@ -886,7 +886,7 @@ vbf_stp_condfetch(struct worker *wrk, struct busyobj *bo)
886886 VSLb (bo -> vsl , SLT_Notice ,
887887 "vsl: Conditional fetch wait for streaming object" );
888888 /* XXX: We should have a VCL controlled timeout here */
889- ObjWaitState (stale_oc , BOS_FINISHED );
889+ ( void ) ObjWaitState (stale_oc , BOS_FINISHED );
890890 stale_state = stale_boc -> state ;
891891 HSH_DerefBoc (bo -> wrk , stale_oc );
892892 stale_boc = NULL ;
@@ -1172,6 +1172,7 @@ void
11721172VBF_Fetch (struct worker * wrk , struct req * req , struct objcore * oc ,
11731173 struct objcore * oldoc , enum vbf_fetch_mode_e mode )
11741174{
1175+ enum boc_state_e state ;
11751176 struct boc * boc ;
11761177 struct busyobj * bo ;
11771178 enum task_prio prio ;
@@ -1257,12 +1258,12 @@ VBF_Fetch(struct worker *wrk, struct req *req, struct objcore *oc,
12571258 THR_SetBusyobj (NULL );
12581259 bo = NULL ; /* ref transferred to fetch thread */
12591260 if (mode == VBF_BACKGROUND ) {
1260- ObjWaitState (oc , BOS_REQ_DONE );
1261+ ( void ) ObjWaitState (oc , BOS_REQ_DONE );
12611262 (void )VRB_Ignore (req );
12621263 } else {
1263- ObjWaitState (oc , BOS_STREAM );
1264+ state = ObjWaitState (oc , BOS_STREAM );
12641265 AZ (oc -> flags & OC_F_BUSY );
1265- if (oc -> boc -> state == BOS_FAILED )
1266+ if (state == BOS_FAILED )
12661267 AN (oc -> flags & OC_F_FAILED );
12671268 }
12681269 }
0 commit comments