drouting: fix warning: "current_partition" may be used uninitialized in this function