Skip to content

Commit

Permalink
smurf: Prevent seg fault if an error has already occurred
Browse files Browse the repository at this point in the history
  • Loading branch information
David Berry committed Dec 10, 2013
1 parent 8f20711 commit b132f8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion applications/smurf/libsmf/smf_iteratemap.c
Original file line number Diff line number Diff line change
Expand Up @@ -2892,7 +2892,7 @@ void smf_iteratemap( ThrWorkForce *wf, const Grp *igrp, const Grp *iterrootgrp,

/* Remember how many chunks failed due to lack of samples */
count_minsmp++;
} else {
} else if( *status == SAI__OK ){

/* In the multiple contchunk case, add this map to the total if
we got here with clean status. First get the weight for this
Expand Down

0 comments on commit b132f8b

Please sign in to comment.