action_render_string_filters_template(): Declare a variable at the beginning
authorFabian Keil <fk@fabiankeil.de>
Sat, 19 Dec 2020 15:59:48 +0000 (16:59 +0100)
committerFabian Keil <fk@fabiankeil.de>
Sun, 20 Dec 2020 09:59:39 +0000 (10:59 +0100)
commitf406a05446ac644829d7791b2bc829af8293e651
tree5ae79c7ceef038321739625d45d374d871fe08a9
parent2bdc55af99f7de923deec9168c433f3486296ac2
action_render_string_filters_template(): Declare a variable at the beginning

... of the function to silence a compiler warning when building with -std=c89:

   cc -c -pipe -fstack-protector-all -ggdb -Wshadow  -Wconversion -I/usr/local/include/  -pthread -Wall -std=c89   cgiedit.c -o cgiedit.o
   cgiedit.c:4436:9: warning: GCC does not allow variable declarations in for loop initializers before C99 [-Wgcc-compat]
      for (int i=0; i < SZ(desc); ++i)
           ^
   1 warning generated.
cgiedit.c