UploadWizard: Remove unused function addWarning

This is no longer in use since
I6f2131283d0d1e79a166c5c158eab6b27beca8c7

Change-Id: I38a95e93c9c48c8a3b3648f115d27fa482210689
Merge "UploadWizard: Remove unused function addWarning"