Index: trunk/Ohana/src/relphot/src/GridOps.c
===================================================================
--- trunk/Ohana/src/relphot/src/GridOps.c	(revision 39377)
+++ trunk/Ohana/src/relphot/src/GridOps.c	(revision 39457)
@@ -38,4 +38,6 @@
 
 void initGrid (int dX, int dY) {
+  OHANA_UNUSED_PARAM(dX);
+  OHANA_UNUSED_PARAM(dY);
 
   int i, N, ccdnum_max, refX, refY, refBin;
Index: trunk/Ohana/src/relphot/src/ImageOps.c
===================================================================
--- trunk/Ohana/src/relphot/src/ImageOps.c	(revision 39377)
+++ trunk/Ohana/src/relphot/src/ImageOps.c	(revision 39457)
@@ -413,4 +413,6 @@
 // NOTE: static flat-field component is included in measure.Mflat
 float getMcal (off_t meas, int cat, FlatCorrectionTable *flatcorr, Catalog *catalog) {
+  OHANA_UNUSED_PARAM(flatcorr);
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i;
@@ -437,4 +439,7 @@
 // NOTE: static flat-field component is included in measure.Mflat
 float getMcal_alt (off_t meas, int cat, FlatCorrectionTable *flatcorr, float Xccd, float Yccd) {
+  OHANA_UNUSED_PARAM(flatcorr);
+  OHANA_UNUSED_PARAM(Xccd);
+  OHANA_UNUSED_PARAM(Yccd);
 
   off_t i;
@@ -562,4 +567,5 @@
 
 float getMflat (off_t meas, int cat, FlatCorrectionTable *flatcorr, Catalog *catalog) {
+  OHANA_UNUSED_PARAM(flatcorr);
 
   off_t i = MeasureToImage[cat][meas];
@@ -842,4 +848,6 @@
 static int setMcal_init_done = FALSE;
 void plot_setMcal (double *list, int Npts, StatType *stats, float clouds) {
+  OHANA_UNUSED_PARAM(stats);
+  OHANA_UNUSED_PARAM(clouds);
 
   off_t i;
@@ -1023,4 +1031,5 @@
 
 StatType statsImageX (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i, n;
@@ -1055,4 +1064,5 @@
 
 StatType statsImageM (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i, n;
@@ -1087,4 +1097,5 @@
 
 StatType statsImagedM (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i, n;
Index: trunk/Ohana/src/relphot/src/MosaicOps.c
===================================================================
--- trunk/Ohana/src/relphot/src/MosaicOps.c	(revision 39377)
+++ trunk/Ohana/src/relphot/src/MosaicOps.c	(revision 39457)
@@ -501,4 +501,5 @@
 
 void setMosaicCenters (Image *image, off_t Nimage) {
+  OHANA_UNUSED_PARAM(Nimage);
 
   /* find max dR, dD range for all mosaics */
@@ -596,4 +597,5 @@
 
 void initMosaicGrid (Image *image, off_t Nimage) {
+  OHANA_UNUSED_PARAM(Nimage);
 
   /* find max dR, dD range for all mosaics */
@@ -1580,4 +1582,5 @@
 
 StatType statsMosaicM (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i;
@@ -1612,4 +1615,5 @@
 
 StatType statsMosaicdM (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i, n;
@@ -1692,4 +1696,5 @@
 
 StatType statsMosaicX (Catalog *catalog) {
+  OHANA_UNUSED_PARAM(catalog);
 
   off_t i, n;
Index: trunk/Ohana/src/relphot/src/StarOps.c
===================================================================
--- trunk/Ohana/src/relphot/src/StarOps.c	(revision 39377)
+++ trunk/Ohana/src/relphot/src/StarOps.c	(revision 39457)
@@ -443,4 +443,10 @@
 // NOTE: here 'catalog' is a pointer to a specific catalog, not the root of the array
 int setMrel_catalog (Catalog *catalog, int Nc, int pass, FlatCorrectionTable *flatcorr, SetMrelInfo *results, int Nsecfilt) {
+  OHANA_UNUSED_PARAM(catalog);
+  OHANA_UNUSED_PARAM(Nc);
+  OHANA_UNUSED_PARAM(pass);
+  OHANA_UNUSED_PARAM(flatcorr);
+  OHANA_UNUSED_PARAM(results);
+  OHANA_UNUSED_PARAM(Nsecfilt);
 
   fprintf (stderr, "??? should you still be using the old version of setMrel_catalog??\n");
Index: trunk/Ohana/src/relphot/src/plotstuff.c
===================================================================
--- trunk/Ohana/src/relphot/src/plotstuff.c	(revision 39377)
+++ trunk/Ohana/src/relphot/src/plotstuff.c	(revision 39457)
@@ -52,4 +52,5 @@
 
 void JpegPlot (Graphdata *graphmode, int N, char *filename) {
+  OHANA_UNUSED_PARAM(graphmode);
 
   if (Xgraph[N] == 0) return;
@@ -60,4 +61,5 @@
 
 void PSPlot (Graphdata *graphmode, int N, char *filename) {
+  OHANA_UNUSED_PARAM(graphmode);
 
   if (Xgraph[N] == 0) return;
@@ -93,4 +95,5 @@
 
 void PlotVector (int Npts, double *vect, int mode, int N, char *type) {
+  OHANA_UNUSED_PARAM(mode);
 
   float *values;
Index: trunk/Ohana/src/relphot/src/setMrelCatalog.c
===================================================================
--- trunk/Ohana/src/relphot/src/setMrelCatalog.c	(revision 39377)
+++ trunk/Ohana/src/relphot/src/setMrelCatalog.c	(revision 39457)
@@ -719,4 +719,5 @@
 // analysis is done on flux, not mags (as the faintest objects will be nearly insignificant)
 int setMrelAverageForcedWarp (Catalog *catalog, int cat, off_t ave, int Nsecfilt, FlatCorrectionTable *flatcorr, SetMrelInfo *results) {
+  OHANA_UNUSED_PARAM(flatcorr);
 
   // we are guaranteed to have average, measure, secfilt
Index: trunk/Ohana/src/relphot/src/share_mean_mags.c
===================================================================
--- trunk/Ohana/src/relphot/src/share_mean_mags.c	(revision 39377)
+++ trunk/Ohana/src/relphot/src/share_mean_mags.c	(revision 39457)
@@ -64,4 +64,5 @@
 
 int slurp_mean_mags (Catalog *catalog, int Ncatalog, RegionHostTable *regionHosts, int nloop) {
+  OHANA_UNUSED_PARAM(Ncatalog);
 
   off_t i;
Index: trunk/Ohana/src/relphot/src/synthetic_mags.c
===================================================================
--- trunk/Ohana/src/relphot/src/synthetic_mags.c	(revision 39377)
+++ trunk/Ohana/src/relphot/src/synthetic_mags.c	(revision 39457)
@@ -18,4 +18,5 @@
 
 int add_synthetic_mags (AverageTiny *average, SecFilt *secfilt, MeasureTiny *measure, off_t *Nmeasure, off_t *Nm) {
+  OHANA_UNUSED_PARAM(average);
 
   if (!SyntheticPhotometry) return TRUE;
