Commit 16dbd487 authored by Kristof Szabados's avatar Kristof Szabados
Browse files

lets not generate unread local variables.


Signed-off-by: Kristof Szabados's avatarKristof Szabados <Kristof.Szabados@ericsson.com>
parent d47ff005
......@@ -4489,8 +4489,7 @@ void defRecordClass1(const struct_def *sdef, output_struct *output)
" break;\n"
" }\n"
" } else if(limit.has_token(ml)){\n"
" int tl;\n"
" if((tl=limit.match(p_buf,ml))==0){\n"
" if(limit.match(p_buf,ml)==0){\n"
" sep_found=FALSE;\n"
" break;\n"
" }\n"
......@@ -4561,8 +4560,7 @@ void defRecordClass1(const struct_def *sdef, output_struct *output)
" return decoded_length;\n"
" }\n"
" } else if(limit.has_token(ml)){\n"
" int tl;\n"
" if((tl=limit.match(p_buf,ml))==0){\n"
" if(limit.match(p_buf,ml)==0){\n"
" sep_found=FALSE;\n"
" break;\n"
" }\n"
......@@ -4765,8 +4763,7 @@ void defRecordClass1(const struct_def *sdef, output_struct *output)
" return decoded_length;\n"
" }\n"
" } else if(limit.has_token(ml)){\n"
" int tl;\n"
" if((tl=limit.match(p_buf,ml))==0){\n"
" if(limit.match(p_buf,ml)==0){\n"
" sep_found=FALSE;\n"
" break;\n"
" }\n"
......
......@@ -821,8 +821,7 @@ void defRecordOfClass1(const struct_of_def *sdef, output_struct *output)
" return decoded_length;\n"
" }\n"
" } else if(limit.has_token(ml)){\n"
" int tl;\n"
" if((tl=limit.match(p_buf,ml))==0){\n"
" if(limit.match(p_buf,ml)==0){\n"
" sep_found=FALSE;\n"
" break;\n"
" }\n"
......@@ -2378,8 +2377,7 @@ void defRecordOfClassMemAllocOptimized(const struct_of_def *sdef, output_struct
" return decoded_length;\n"
" }\n"
" } else if(limit.has_token(ml)){\n"
" int tl;\n"
" if((tl=limit.match(p_buf,ml))==0){\n"
" if(limit.match(p_buf,ml)==0){\n"
" sep_found=FALSE;\n"
" break;\n"
" }\n"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment