浏览代码

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>
Leonardo Bras 7 年之前
父节点
当前提交
9e1e819433
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      scripts/asn1_compiler.c

+ 1 - 1
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.