journal-gateway: explicitly declare local variables
Suggested by LGTM.
(cherry picked from commit c497e449f41774a36e01ae2cc2abade6133dffe1)
Resolves: #1705971
patch_name: 0198-journal-gateway-explicitly-declare-local-variables.patch
present_in_specfile: true
location_in_specfile: 198
squash_commits: true