projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7d0ea25
)
ASN.1: Remove unnecessary shadowed local variable
author
Leonardo Bras
<leobras.c@gmail.com>
Wed, 24 Oct 2018 04:03:51 +0000
(
01:03
-0300)
committer
Masahiro Yamada
<yamada.masahiro@socionext.com>
Sun, 28 Oct 2018 15:19:41 +0000
(
00:19
+0900)
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>
scripts/asn1_compiler.c
patch
|
blob
|
history
diff --git
a/scripts/asn1_compiler.c
b/scripts/asn1_compiler.c
index c146020fc7838d1a3304c21152026f6563a7f5a0..1b28787028d3eaff2df78d15060d63f8f39233be 100644
(file)
--- a/
scripts/asn1_compiler.c
+++ b/
scripts/asn1_compiler.c
@@
-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.