When any of the officers listed in Code Section 25-2-22 finds any building or other structure which, for want of repair or by reason of age or dilapidated condition or any other cause is especially liable to fire hazard or which is so situated as to endanger other property or the safety of the public, or when, in or around any building, such officer finds combustible or explosive matter, inflammables, or other conditions dangerous to the safety of the building, notice may be given to the owner or agent and occupant of the building to correct such unsafe conditions as may be found.
OCGA § 25-2-23