Non-potential Field Formation in the X-shaped Quadrupole Magnetic Field Configuration