[Cocci] string parameter concatenation

Cyril Hrubis chrubis at suse.cz
Thu Oct 2 15:42:34 CEST 2014

> It is not actually necessary to remove and add back L.  You could write:
> - tst_resm
> + txt_brkm
>    (C,
> +   NULL,
>     L);
> - tst_exit();

Ah, you are right. I should really stop thinking in terms of lines of
code and focus more on the tokens lines are composed of.

> However, it is useful to have the bug reports.

I'm a proffesional QA and therefore I'm very skilled in breaking things :).

Cyril Hrubis
chrubis at suse.cz

More information about the Cocci mailing list