elm code - remove double set of textlen

analysis doesnt like it, but not a bug

found by PVS studio
This commit is contained in:
Carsten Haitzler 2017-07-29 01:04:01 +09:00
parent 1670ee2766
commit 5a1f8fdf41
1 changed files with 0 additions and 1 deletions

View File

@ -83,7 +83,6 @@ _elm_code_widget_undo_change(Evas_Object *widget,
line = elm_code_file_line_get(pd->code->file, newrow); line = elm_code_file_line_get(pd->code->file, newrow);
if (newrow != info->end_line) if (newrow != info->end_line)
{ {
textlen = remainlen;
textlen = elm_code_text_newlinenpos(content, remainlen, textlen = elm_code_text_newlinenpos(content, remainlen,
&nllen); &nllen);
remainlen -= textlen + nllen; remainlen -= textlen + nllen;