Section XLII. And be it further enacted by the authority aforesaid, That the auditor-general shall be appointed and commissioned for three years, but shall be removed from office by the governor, on the address of both houses of the legislature, and in case the present, or any future auditor-general should die, resign, or be removed from office by the governor on the address of the general assembly, the governor shall supply his place by an appointment for the remainder of the time such auditor-general had to serve, and in case the state treasurer should die during the recess of the legislature, the chief clerk in the office of treasurer after having taken the oath or affirmation of office, and given the requisite security, shall be authorized to do the duties of state treasurer until another shall be appointed by the legislature.