Precautory alterations are not necessary though used to remind the original pitch of a note if this has been altered in the previous measure. They are often set between two brackets:
Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer