It doesn't look like we ever return non-zero, and the construction is deterministic, so will there ever be information we can pass back via this return value?
(I think it should just be a void function.)