Id always start by clearing the codes when doing a diagnosis then take it for a short drive and run the test again

But to answer your question no a previous stored code should have no effect on the car if the issue was resolved , also a lot of time one part failing can throw numerous codes