diff options
author | Leonardo Bras <leobras.c@gmail.com> | 2018-10-24 00:03:51 -0400 |
---|---|---|
committer | Masahiro Yamada <yamada.masahiro@socionext.com> | 2018-10-28 11:19:41 -0400 |
commit | 9e1e8194332fa4c453bcbad434b5da17c1c7e4c5 (patch) | |
tree | c746b611032cd3774aa12073b986a4f0e85b9df8 /scripts/asn1_compiler.c | |
parent | 7d0ea2524202db5cb3f5bde9c0cdd6dea61bc0e3 (diff) |
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>
Diffstat (limited to 'scripts/asn1_compiler.c')
-rw-r--r-- | scripts/asn1_compiler.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/asn1_compiler.c b/scripts/asn1_compiler.c index c146020fc783..1b28787028d3 100644 --- a/scripts/asn1_compiler.c +++ b/scripts/asn1_compiler.c | |||
@@ -413,7 +413,7 @@ static void tokenise(char *buffer, char *end) | |||
413 | 413 | ||
414 | /* Handle string tokens */ | 414 | /* Handle string tokens */ |
415 | if (isalpha(*p)) { | 415 | if (isalpha(*p)) { |
416 | const char **dir, *start = p; | 416 | const char **dir; |
417 | 417 | ||
418 | /* Can be a directive, type name or element | 418 | /* Can be a directive, type name or element |
419 | * name. Find the end of the name. | 419 | * name. Find the end of the name. |