IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Mar 11, 2016, 10:23:42 PM (10 years ago)
Author:
eugene
Message:

modify to pass with extremely pedantic build; force consistency for signed vs unsigned and int sizes; various relastro updates

Location:
trunk/Ohana
Files:
9 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana

  • trunk/Ohana/src/relphot/src/GridOps.c

    r37037 r39457  
    3838
    3939void initGrid (int dX, int dY) {
     40  OHANA_UNUSED_PARAM(dX);
     41  OHANA_UNUSED_PARAM(dY);
    4042
    4143  int i, N, ccdnum_max, refX, refY, refBin;
  • trunk/Ohana/src/relphot/src/ImageOps.c

    r39377 r39457  
    413413// NOTE: static flat-field component is included in measure.Mflat
    414414float getMcal (off_t meas, int cat, FlatCorrectionTable *flatcorr, Catalog *catalog) {
     415  OHANA_UNUSED_PARAM(flatcorr);
     416  OHANA_UNUSED_PARAM(catalog);
    415417
    416418  off_t i;
     
    437439// NOTE: static flat-field component is included in measure.Mflat
    438440float getMcal_alt (off_t meas, int cat, FlatCorrectionTable *flatcorr, float Xccd, float Yccd) {
     441  OHANA_UNUSED_PARAM(flatcorr);
     442  OHANA_UNUSED_PARAM(Xccd);
     443  OHANA_UNUSED_PARAM(Yccd);
    439444
    440445  off_t i;
     
    562567
    563568float getMflat (off_t meas, int cat, FlatCorrectionTable *flatcorr, Catalog *catalog) {
     569  OHANA_UNUSED_PARAM(flatcorr);
    564570
    565571  off_t i = MeasureToImage[cat][meas];
     
    842848static int setMcal_init_done = FALSE;
    843849void plot_setMcal (double *list, int Npts, StatType *stats, float clouds) {
     850  OHANA_UNUSED_PARAM(stats);
     851  OHANA_UNUSED_PARAM(clouds);
    844852
    845853  off_t i;
     
    10231031
    10241032StatType statsImageX (Catalog *catalog) {
     1033  OHANA_UNUSED_PARAM(catalog);
    10251034
    10261035  off_t i, n;
     
    10551064
    10561065StatType statsImageM (Catalog *catalog) {
     1066  OHANA_UNUSED_PARAM(catalog);
    10571067
    10581068  off_t i, n;
     
    10871097
    10881098StatType statsImagedM (Catalog *catalog) {
     1099  OHANA_UNUSED_PARAM(catalog);
    10891100
    10901101  off_t i, n;
  • trunk/Ohana/src/relphot/src/MosaicOps.c

    r39377 r39457  
    501501
    502502void setMosaicCenters (Image *image, off_t Nimage) {
     503  OHANA_UNUSED_PARAM(Nimage);
    503504
    504505  /* find max dR, dD range for all mosaics */
     
    596597
    597598void initMosaicGrid (Image *image, off_t Nimage) {
     599  OHANA_UNUSED_PARAM(Nimage);
    598600
    599601  /* find max dR, dD range for all mosaics */
     
    15801582
    15811583StatType statsMosaicM (Catalog *catalog) {
     1584  OHANA_UNUSED_PARAM(catalog);
    15821585
    15831586  off_t i;
     
    16121615
    16131616StatType statsMosaicdM (Catalog *catalog) {
     1617  OHANA_UNUSED_PARAM(catalog);
    16141618
    16151619  off_t i, n;
     
    16921696
    16931697StatType statsMosaicX (Catalog *catalog) {
     1698  OHANA_UNUSED_PARAM(catalog);
    16941699
    16951700  off_t i, n;
  • trunk/Ohana/src/relphot/src/StarOps.c

    r39377 r39457  
    443443// NOTE: here 'catalog' is a pointer to a specific catalog, not the root of the array
    444444int setMrel_catalog (Catalog *catalog, int Nc, int pass, FlatCorrectionTable *flatcorr, SetMrelInfo *results, int Nsecfilt) {
     445  OHANA_UNUSED_PARAM(catalog);
     446  OHANA_UNUSED_PARAM(Nc);
     447  OHANA_UNUSED_PARAM(pass);
     448  OHANA_UNUSED_PARAM(flatcorr);
     449  OHANA_UNUSED_PARAM(results);
     450  OHANA_UNUSED_PARAM(Nsecfilt);
    445451
    446452  fprintf (stderr, "??? should you still be using the old version of setMrel_catalog??\n");
  • trunk/Ohana/src/relphot/src/plotstuff.c

    r38466 r39457  
    5252
    5353void JpegPlot (Graphdata *graphmode, int N, char *filename) {
     54  OHANA_UNUSED_PARAM(graphmode);
    5455
    5556  if (Xgraph[N] == 0) return;
     
    6061
    6162void PSPlot (Graphdata *graphmode, int N, char *filename) {
     63  OHANA_UNUSED_PARAM(graphmode);
    6264
    6365  if (Xgraph[N] == 0) return;
     
    9395
    9496void PlotVector (int Npts, double *vect, int mode, int N, char *type) {
     97  OHANA_UNUSED_PARAM(mode);
    9598
    9699  float *values;
  • trunk/Ohana/src/relphot/src/setMrelCatalog.c

    r39377 r39457  
    719719// analysis is done on flux, not mags (as the faintest objects will be nearly insignificant)
    720720int setMrelAverageForcedWarp (Catalog *catalog, int cat, off_t ave, int Nsecfilt, FlatCorrectionTable *flatcorr, SetMrelInfo *results) {
     721  OHANA_UNUSED_PARAM(flatcorr);
    721722
    722723  // we are guaranteed to have average, measure, secfilt
  • trunk/Ohana/src/relphot/src/share_mean_mags.c

    r37037 r39457  
    6464
    6565int slurp_mean_mags (Catalog *catalog, int Ncatalog, RegionHostTable *regionHosts, int nloop) {
     66  OHANA_UNUSED_PARAM(Ncatalog);
    6667
    6768  off_t i;
  • trunk/Ohana/src/relphot/src/synthetic_mags.c

    r35416 r39457  
    1818
    1919int add_synthetic_mags (AverageTiny *average, SecFilt *secfilt, MeasureTiny *measure, off_t *Nmeasure, off_t *Nm) {
     20  OHANA_UNUSED_PARAM(average);
    2021
    2122  if (!SyntheticPhotometry) return TRUE;
Note: See TracChangeset for help on using the changeset viewer.