inp_readall(): local scope for `tmp_ptr1'
This commit is contained in:
parent
d7b99d83f6
commit
65f648d2cc
|
|
@ -826,6 +826,7 @@ inp_readall(FILE *fp, struct line **data, int call_depth, char *dir_name, bool c
|
|||
if (ft_ngdebug) {
|
||||
/*debug: print into file*/
|
||||
FILE *fdo = fopen("debug-out.txt", "w");
|
||||
struct line *tmp_ptr1;
|
||||
for (tmp_ptr1 = cc; tmp_ptr1 != NULL; tmp_ptr1 = tmp_ptr1->li_next)
|
||||
fprintf(fdo, "%d %d %s\n", tmp_ptr1->li_linenum_orig, tmp_ptr1->li_linenum, tmp_ptr1->li_line);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue