Changeset 3161 in MondoRescue for branches/3.1/mondo/src/common/newt-specific.c
- Timestamp:
- Jun 25, 2013, 10:53:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/mondo/src/common/newt-specific.c
r3148 r3161 171 171 /*@ buffer *********************************************************** */ 172 172 char *tmp = NULL; 173 char *p;174 char *p;175 173 int i; 176 174 … … 442 440 char *command = NULL; 443 441 char *tmp = NULL; 444 char *p = NULL;445 442 446 443 /*@ pointers ********************************************************* */ … … 468 465 for (err_log_lines[i][0] = '\0'; 469 466 strlen(err_log_lines[i]) < 2 && !feof(fin);) { 470 (void) fgets(err_log_lines[i], MAX_NEWT_COMMENT_LEN, fin); 467 if (fgets(err_log_lines[i], MAX_NEWT_COMMENT_LEN, fin)) { 468 //FIXME 469 } 471 470 /* Commented to make valgrind happy and avoid crash 472 471 strip_spaces(err_log_lines[i]); … … 782 781 /*@ buffers *********************************************************** */ 783 782 char *prompt = NULL; 784 char *q;785 char *q;786 783 787 784 /*@ newt ************************************************************** */ … … 1151 1148 static char *possible_responses[] = { "none", "cdr", "cdrw", "dvd", "tape", "cdstream", "udev", "netfs", "iso", NULL }; 1152 1149 char *outstr = NULL; 1153 char *p;1154 char *p;1155 1150 t_bkptype backup_type; 1156 1151 int i; … … 1350 1345 bool done; 1351 1346 char *tmp = NULL; 1352 char *p;1353 char *p;1354 1347 char *tmp1 = NULL; 1355 1348 FILE *fin, *fout;
Note:
See TracChangeset
for help on using the changeset viewer.