Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ASN.1: Remove unnecessary shadowed local variable

Remove an unnecessary shadowed local variable (start).
It was used only once, with the same value it was started before
the if block.

Signed-off-by: Leonardo Bras <leobras.c@gmail.com>
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>

authored by

Leonardo Bras and committed by
Masahiro Yamada
9e1e8194 7d0ea252

+1 -1
+1 -1
scripts/asn1_compiler.c
··· 413 413 414 414 /* Handle string tokens */ 415 415 if (isalpha(*p)) { 416 - const char **dir, *start = p; 416 + const char **dir; 417 417 418 418 /* Can be a directive, type name or element 419 419 * name. Find the end of the name.