IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 41598


Ignore:
Timestamp:
May 18, 2021, 3:31:23 PM (5 years ago)
Author:
eugene
Message:

disable updatesummitexp (never fully coded); fix optimized build issues

Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/kapa2/src/bDrawObjects.c

    r41341 r41598  
    211211
    212212  int scaleColor = (object[0].color < 0);
    213   unsigned char *pixel1, *pixel2, *pixel3;
     213  unsigned char *pixel1 = NULL, *pixel2 = NULL, *pixel3 = NULL;
    214214  float *z = object[0].z;
    215215
  • trunk/Ohana/src/relphot/src/ZeroPointModes.c

    r41555 r41598  
    88    int newValue;
    99    fprintf (stdout, "Set Iteration (current = %d): ", CurrentLoop);
    10     fscanf (stdin, "%d", &newValue);
     10    if (!fscanf (stdin, "%d", &newValue)) return;
    1111    fprintf (stdout, "Using iteration %d\n", newValue);
    1212    CurrentLoop = newValue;
  • trunk/ippTools/src/pztool.c

    r41595 r41598  
    4949static bool updatepzexpMode(pxConfig *config);
    5050static bool updatenewexpMode(pxConfig *config);
    51 static bool updatesummitExpMode(pxConfig *config);
     51
     52// XXX EAM : 2021.05.18 : code for updatesummitExp was added but not finished.
     53// XXX static bool updatesummitExpMode(pxConfig *config);
    5254
    5355// static bool copydoneCompleteExp(pxConfig *config);
     
    5557static psArray *pzArrayZip(psArray *arraySet, psS64 limit);
    5658static bool pzDownloadExpSetState(pxConfig *config, const psS64 summit_id, const char *state);
    57 static bool summitExpSetFault(pxConfig *config, const psS64 summit_id, const int fault);
     59
     60// XXX static bool summitExpSetFault(pxConfig *config, const psS64 summit_id, const int fault);
    5861
    5962# define MODECASE(caseName, func) \
     
    9093        MODECASE(PZTOOL_MODE_UPDATEPZEXP, updatepzexpMode);
    9194        MODECASE(PZTOOL_MODE_UPDATENEWEXP, updatenewexpMode);
    92         MODECASE(PZTOOL_MODE_UPDATESUMMITEXP, updatesummitExpMode);
     95        // XXX MODECASE(PZTOOL_MODE_UPDATESUMMITEXP, updatesummitExpMode);
    9396        default:
    9497            psAbort("invalid option (this should not happen)");
     
    936939}
    937940
     941# if (0)
    938942static bool summitExpSetFault(pxConfig *config, const psS64 summit_id, const int fault)
    939943{
     
    968972  return true;
    969973}
    970  
     974# endif 
    971975 
    972976static bool updatepzexpMode(pxConfig *config)
  • trunk/ippTools/src/pztoolConfig.c

    r41582 r41598  
    171171    psMetadataAddStr(updatepzexpArgs, PS_LIST_TAIL, "-set_state",  0,            "define new state (required)", NULL);
    172172   
     173# if (0)
    173174    // -updatesummitexp
    174175    psMetadata *updatesummitexpArgs = psMetadataAlloc();
     
    178179    psMetadataAddStr(updatesummitexpArgs, PS_LIST_TAIL, "-telescope",  0,            "search by telescope (required)", NULL);
    179180    psMetadataAddS32(updatesummitexpArgs, PS_LIST_TAIL, "-set_fault",  0,            "define new fault (required)", 0);
     181# endif
    180182   
    181183    // -updatenewexp
Note: See TracChangeset for help on using the changeset viewer.