Changeset 669 in MondoRescue


Ignore:
Timestamp:
Jun 11, 2006, 7:48:10 AM (18 years ago)
Author:
andree
Message:

Removed cruft from prepare_filelist() including variable p_res. Fixes
gcc 4.1.2 warning 'warning: value computed is not used'.

Location:
branches
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0.8/mondo/mondo/common/libmondo-filelist.c

    r336 r669  
    14381438    /*@ int **************************************************** */
    14391439    int res = 0;
    1440 // patch by Herman Kuster
    1441 // end patch
    1442     int *p_res = &res;
    1443 
    1444     /*@ buffers ************************************************ */
    1445 //  char command[MAX_STR_LEN*2];
    1446 
    1447     /*@ i don't have any idea ********************************** */
    14481440
    14491441    assert(bkpinfo != NULL);
     
    14751467    if (res) {
    14761468        log_OS_error("Call to mondo-makefilelist failed");
    1477         *p_res++;
    14781469        mvaddstr_and_log_it(g_currentY++, 74, "Failed.");
    14791470    } else {
  • branches/stable/mondo/mondo/common/libmondo-filelist.c

    r541 r669  
    14381438    /*@ int **************************************************** */
    14391439    int res = 0;
    1440 // patch by Herman Kuster
    1441 // end patch
    1442     int *p_res = &res;
    1443 
    1444     /*@ buffers ************************************************ */
    1445 //  char command[MAX_STR_LEN*2];
    1446 
    1447     /*@ i don't have any idea ********************************** */
    14481440
    14491441    assert(bkpinfo != NULL);
     
    14751467    if (res) {
    14761468        log_OS_error("Call to mondo-makefilelist failed");
    1477         *p_res++;
    14781469        mvaddstr_and_log_it(g_currentY++, 74, "Failed.");
    14791470    } else {
Note: See TracChangeset for help on using the changeset viewer.