warning duplicate name

This warning message is reported on closing definition mode when one or more names are duplicated in the header line of the function.  This may be perfectly valid.  Definition of the function in the active workspace is not prevented.  The order in which values are associated with names in the header line is described in "Defined Functions & Operators".