Won't affect the magnetic field, however if the wire is damaged in any way due to the kink, then the point of damage will affect the current carrying capacity of the wire.