If the reality is as you mentioned, and you bought these foods with the intention of eating them and not to trade in them, and it happened that you did not use them and they remained with you to be used in the future, then no Zakah is due on them. However, if you bought them with the intention of trading in them or if you bought them - though you were not in need of them - (Part No. 9; Page No. 315) merely to avoid paying the Zakah on money, then you must pay the Zakah on these foodstuff's value with the passage of one lunar year.May Allah grant us success. May peace and blessings be upon our Prophet Muhammad, his family, and Companions.