IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jul 31, 2005, 1:04:22 PM (21 years ago)
Author:
eugene
Message:

cleanups so -Wall -Werror succeed, some .h reorgs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/task_periods.c

    r4684 r4689  
    77  Task *task;
    88
     9  PollValue = 0;
    910  Poll = FALSE;
    10   if (N = get_argument (argc, argv, "-poll")) {
     11  if ((N = get_argument (argc, argv, "-poll"))) {
    1112    Poll = TRUE;
    1213    remove_argument (N, &argc, argv);
     
    1516  }
    1617
     18  ExecValue = 0;
    1719  Exec = FALSE;
    18   if (N = get_argument (argc, argv, "-exec")) {
     20  if ((N = get_argument (argc, argv, "-exec"))) {
    1921    Exec = TRUE;
    2022    remove_argument (N, &argc, argv);
     
    2325  }
    2426
     27  TimeoutValue = 0;
    2528  Timeout = FALSE;
    26   if (N = get_argument (argc, argv, "-timeout")) {
     29  if ((N = get_argument (argc, argv, "-timeout"))) {
    2730    Timeout = TRUE;
    2831    remove_argument (N, &argc, argv);
     
    4952  return (TRUE);
    5053}
    51 
    52 
    53 /**
    54     careful with this: the command is supposed to be realized
    55     for the Job, not the Task (at execution)
    56     the code is right, but who calls it when needs to be clarified.
    57  **/
    58 
Note: See TracChangeset for help on using the changeset viewer.