Changeset 672 for branches/devel/Cbc/src


Ignore:
Timestamp:
Jul 3, 2007 9:58:21 AM (12 years ago)
Author:
forrest
Message:

for compiler warnings on AIX

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/devel/Cbc/src/CbcModel.cpp

    r671 r672  
    22372237        struct timespec absTime;
    22382238        clock_gettime(CLOCK_REALTIME,&absTime);
    2239         double time = absTime.tv_sec+1.0e-9*absTime.tv_nsec;
    22402239        absTime.tv_nsec += 1000000; // millisecond
    22412240        if (absTime.tv_nsec>=1000000000) {
     
    22452244        pthread_cond_timedwait(&condition_main,&condition_mutex,&absTime);
    22462245        clock_gettime(CLOCK_REALTIME,&absTime);
    2247         double time2 = absTime.tv_sec+1.0e-9*absTime.tv_nsec;
    22482246        pthread_mutex_unlock(&condition_mutex);
    22492247      }
     
    58715869        struct timespec absTime;
    58725870        clock_gettime(CLOCK_REALTIME,&absTime);
    5873         double time = absTime.tv_sec+1.0e-9*absTime.tv_nsec;
    58745871        absTime.tv_nsec += 1000000; // millisecond
    58755872        if (absTime.tv_nsec>=1000000000) {
     
    58795876        pthread_cond_timedwait(&condition_main,&condition_mutex,&absTime);
    58805877        clock_gettime(CLOCK_REALTIME,&absTime);
    5881         double time2 = absTime.tv_sec+1.0e-9*absTime.tv_nsec;
    58825878        pthread_mutex_unlock(&condition_mutex);
    58835879      }
     
    1069410690  pthread_mutex_unlock(mutex);
    1069510691  pthread_exit(NULL);
     10692  return NULL;
    1069610693}
    1069710694static void * doCutsThread(void * voidInfo)
     
    1073110728  pthread_mutex_unlock(mutex);
    1073210729  pthread_exit(NULL);
     10730  return NULL;
    1073310731}
    1073410732#endif
Note: See TracChangeset for help on using the changeset viewer.