Skip to content

Commit

Permalink
ASN.1: Remove unnecessary shadowed local variable
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
LeoBras authored and masahir0y committed Oct 28, 2018
1 parent 7d0ea25 commit 9e1e819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/asn1_compiler.c
Original file line number Diff line number Diff line change
Expand Up @@ -413,7 +413,7 @@ static void tokenise(char *buffer, char *end)

/* Handle string tokens */
if (isalpha(*p)) {
const char **dir, *start = p;
const char **dir;

/* Can be a directive, type name or element
* name. Find the end of the name.
Expand Down

0 comments on commit 9e1e819

Please sign in to comment.