Reformat register_variable()

- somehow missed it during mass reformatting