Fixing unnecessary moving of variables
Fixing unnecessary moving of variables

Prior to this fix variable was being used even its
memory was moved which can lead to undefined behaviour.

Change-Id: Ibb611fd699df6f30bcfeaa66d151920556dac64e
Signed-off-by: Ratan Gupta <a42a43504c26cfe5294e3d72712325cd74a43440@in.ibm.com>

openbmc/phosphor-networkd,openbmc/phosphor-networkd