(no-ticket) Emit same code warning per task, not globally.

Change-Id: I046ecc32f128ae2243d1e969a329381c6be773ab