>> But can it be that this assignment is checked a bit too late? > > Yes,
Thanks that you can agree to such a view. > but no one will care. I am curious if further software development opinions will appear around similar situations. > The code is more concise as is. I have got an other opinion for such an implementation detail. > If the alloc fails, the machine is already in a very bad state, so one more > alloc > attempt doesn't matter. Would it be nicer to avoid a questionable function call (and a corresponding variable assignment) when it was determined that the desired task could not be completed for a moment? Regards, Markus _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
