The role of nitric acid in the reaction of halide ions with silver nitrate is to react with any carbonates present to prevent formation of the precipitate Ag2CO3.
If some universal indicator is added to the solution it will first turn red due to the acidity of both reaction products and then turn colourless as the HClO bleaches the colour.