[PATCH] scan-build: Remove useless whitespace in File path

Sylvestre Ledru sylvestre at debian.org
Sun Jun 7 05:51:50 PDT 2015


LGTM and glad to see that fixed.
Do you need someone to commit that for you?

Le 07/06/2015 12:24, Honggyu Kim a écrit :
> This patch removes useless whitespace in File path in index.html
> Previously, when a File directory path is copied and pasted as below:
>   arch /arm /kernel /stacktrace.c
>
> This patch removes the whitespace between directories and makes the
> copied string as below:
>   arch/arm/kernel/stacktrace.c
>
> The output looks same in html format, but it makes the copied directory
> path can be pasted as it looks.
>
> Signed-off-by: Honggyu Kim <hong.gyu.kim at lge.com>
> ---
>  tools/scan-build/scan-build |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/scan-build/scan-build b/tools/scan-build/scan-build
> index ea18536..74aaaae 100755
> --- a/tools/scan-build/scan-build
> +++ b/tools/scan-build/scan-build
> @@ -766,7 +766,7 @@ ENDTEXT
>            my $x = shift @fname;
>            print OUT $x;
>            if ($#fname >= 0) {
> -            print OUT "<span class=\"W\"> </span>/";
> +            print OUT "/";
>            }
>          }
>        }





More information about the cfe-commits mailing list