To dream of an unpleasant odor predicts anxieties which could be major or minor (depending on how bad the dream smell is).

Also, to smell something in your dream often indicates your past experiences and feelings with that particular smell. Your dream may be trying to convey a feeling to you by associating it with a familiar smell.