I don't think it would negate a war rally at all (assuming that the war goes well enough to generate a rally). The spin will be as follows:
1) Yes, earnings are bad
2) That's because of "war worries" and distractions
3) Now that those problems are being resolved, everyone will
start spending again, and the economy will take off.
I'm not at all confident that the war, if there even is one, will go well enough to support that, but, if it does, I see a huge rally coming, well over 25% on the Naz...