Ignore:
Timestamp:
Jun 25, 2013, 10:53:14 PM (11 years ago)
Author:
Bruno Cornec
Message:
  • Apply fixes to 3.1 tree so that at least mondo compiles again (but that branch probably doesn't work at all again).
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.1/mondo/src/common/newt-specific.c

    r3148 r3161  
    171171        /*@ buffer *********************************************************** */
    172172        char *tmp = NULL;
    173         char *p;
    174         char *p;
    175173        int i;
    176174
     
    442440        char *command = NULL;
    443441        char *tmp = NULL;
    444         char *p = NULL;
    445442
    446443        /*@ pointers ********************************************************* */
     
    468465                for (err_log_lines[i][0] = '\0';
    469466                     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                    }
    471470                    /* Commented to make valgrind happy and avoid crash
    472471                    strip_spaces(err_log_lines[i]);
     
    782781        /*@ buffers *********************************************************** */
    783782        char *prompt = NULL;
    784         char *q;
    785         char *q;
    786783
    787784        /*@ newt ************************************************************** */
     
    11511148        static char *possible_responses[] = { "none", "cdr", "cdrw", "dvd", "tape", "cdstream", "udev", "netfs", "iso", NULL };
    11521149        char *outstr = NULL;
    1153         char *p;
    1154         char *p;
    11551150        t_bkptype backup_type;
    11561151        int i;
     
    13501345        bool done;
    13511346        char *tmp = NULL;
    1352         char *p;
    1353         char *p;
    13541347        char *tmp1 = NULL;
    13551348        FILE *fin, *fout;
Note: See TracChangeset for help on using the changeset viewer.