NH2: Fix function ending with no return value