Transforms patch not respecting if indentation
Transforms patch not respecting if indentation
От:
Michael Paquier <michael.paquier@gmail.com>
Дата:
Hi all,
Coverity complained about a small indentation issue in ruleutils.c:
+ appendStringInfoString(buf, "\n TRANSFORM ");
+ for (i = 0; i < ntypes; i++)
+ {
+ if (i != 0)
+ appendStringInfoString(buf, ", ");
+ appendStringInfo(buf, "FOR TYPE %s",
format_type_be(trftypes[i]));
+ }
Regards,
--
Michael
Re: Transforms patch not respecting if indentation
От:
Magnus Hagander <magnus@hagander.net>
Дата:
On Mon, May 4, 2015 at 6:45 AM, Michael Paquier <michael.paquier@gmail.com> wrote:
Hi all,
Coverity complained about a small indentation issue in ruleutils.c:
+ appendStringInfoString(buf, "\n TRANSFORM ");
+ for (i = 0; i < ntypes; i++)
+ {
+ if (i != 0)
+ appendStringInfoString(buf, ", ");
+ appendStringInfo(buf, "FOR TYPE %s",
format_type_be(trftypes[i]));
+ }
Applied, thanks.