Обсуждение: Transforms patch not respecting if indentation

Поиск
Список
Период
Сортировка

Transforms patch not respecting if indentation

От
Michael Paquier
Дата:
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
Дата:
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. 

--