I am trying to learn and include direct and indirect object pronouns. The line below I don't understand why there is a le in the sentence at all. I don't think (and guessing incorrectly) there is an indirect object
yo prefiero que no le digas nada a nadie.
Its possible I have the translation wrong,
I prefer that you don't say anything to anyone
I am also not sure what is the direct object in this sentence. The prefiero and digas are confusing me.