Index: branches/eam_branches/ipp-20120601/psModules/src/detrend/pmFringeStats.c
===================================================================
--- branches/eam_branches/ipp-20120601/psModules/src/detrend/pmFringeStats.c	(revision 34051)
+++ branches/eam_branches/ipp-20120601/psModules/src/detrend/pmFringeStats.c	(revision 34052)
@@ -662,5 +662,5 @@
         if (item->type == PS_DATA_VECTOR) { \
             ARRAY->data[i] = psMemIncrRefCounter(item->data.V); \
-        } else if (item->type == PS_TYPE_##TYPE) { \
+        } else if (item->type == PS_DATA_##TYPE) { \
             psVector *vector = psVectorAlloc(1, PS_TYPE_##TYPE); \
             vector->data.TYPE[0] = item->data.TYPE; \
Index: branches/eam_branches/ipp-20120601/psModules/src/detrend/pmNonLinear.c
===================================================================
--- branches/eam_branches/ipp-20120601/psModules/src/detrend/pmNonLinear.c	(revision 34051)
+++ branches/eam_branches/ipp-20120601/psModules/src/detrend/pmNonLinear.c	(revision 34052)
@@ -329,4 +329,6 @@
 
     bin = correction_fluxes->n - 1;
+    psTrace("psModules.nonlin",6,"NLMN: %f %d %f %f\n",flux,bin,correction_fluxes->data.F32[0],correction_fluxes->data.F32[bin]);
+    if (bin < 0) { /* warn? */ }
     if (flux < correction_fluxes->data.F32[0]) {
 	return(0.0);
@@ -357,4 +359,5 @@
     bin = correction_fluxes->n - 1;
     psTrace("psModules.nonlin",6,"NLMN: %f %d %f %f\n",flux,bin,correction_fluxes->data.F32[0],correction_fluxes->data.F32[bin]);
+    if (bin < 0) { /* warn? */ }
     if (flux < correction_fluxes->data.F32[0]) {
 	return(0.0);
Index: branches/eam_branches/ipp-20120601/psModules/src/extras/psPipe.c
===================================================================
--- branches/eam_branches/ipp-20120601/psModules/src/extras/psPipe.c	(revision 34051)
+++ branches/eam_branches/ipp-20120601/psModules/src/extras/psPipe.c	(revision 34052)
@@ -105,5 +105,5 @@
 
         status = execvp (argv[0], argv);
-        psWarning ("error running exec for child process");
+        if (status < 0) { psWarning ("error running exec for child process"); }
         exit (1); // this statement exits the child, not the parent, process
     }
Index: branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_PGAUSS.c
===================================================================
--- branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_PGAUSS.c	(revision 34051)
+++ branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_PGAUSS.c	(revision 34052)
@@ -261,5 +261,4 @@
 {
     psF64 z;
-    int Nstep = 0;
     psEllipseShape shape;
 
@@ -285,5 +284,4 @@
     // use the fact that f is monotonically decreasing
     z = 0;
-    Nstep = 0;
 
     // choose a z value guaranteed to be beyond our limit
Index: branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_PS1_V1.c
===================================================================
--- branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_PS1_V1.c	(revision 34051)
+++ branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_PS1_V1.c	(revision 34052)
@@ -283,5 +283,4 @@
 {
     psF64 z;
-    int Nstep = 0;
     psEllipseShape shape;
 
@@ -308,5 +307,4 @@
     // use the fact that f is monotonically decreasing
     z = 0;
-    Nstep = 0;
 
     // choose a z value guaranteed to be beyond our limit
Index: branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_QGAUSS.c
===================================================================
--- branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_QGAUSS.c	(revision 34051)
+++ branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_QGAUSS.c	(revision 34052)
@@ -284,5 +284,4 @@
 {
     psF64 z;
-    int Nstep = 0;
     psEllipseShape shape;
 
@@ -312,5 +311,4 @@
     // use the fact that f is monotonically decreasing
     z = 0;
-    Nstep = 0;
 
     // choose a z value guaranteed to be beyond our limit
Index: branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_RGAUSS.c
===================================================================
--- branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_RGAUSS.c	(revision 34051)
+++ branches/eam_branches/ipp-20120601/psModules/src/objects/models/pmModel_RGAUSS.c	(revision 34052)
@@ -273,5 +273,4 @@
 {
     psF64 z;
-    int Nstep = 0;
     psEllipseShape shape;
 
@@ -296,5 +295,4 @@
     // use the fact that f is monotonically decreasing
     z = 0;
-    Nstep = 0;
 
     // choose a z value guaranteed to be beyond our limit
Index: branches/eam_branches/ipp-20120601/psModules/src/objects/pmSourceIO_CMP.c
===================================================================
--- branches/eam_branches/ipp-20120601/psModules/src/objects/pmSourceIO_CMP.c	(revision 34051)
+++ branches/eam_branches/ipp-20120601/psModules/src/objects/pmSourceIO_CMP.c	(revision 34052)
@@ -184,8 +184,8 @@
     }
 
-    // find config information for output header
-    float ZERO_POINT = psMetadataLookupF32 (&status, header, "ZERO_PT");
-    if (!status)
-        ZERO_POINT = 25.0;
+    // XXX unused // find config information for output header
+    // XXX unused float ZERO_POINT = psMetadataLookupF32 (&status, header, "ZERO_PT");
+    // XXX unused if (!status)
+    // XXX unused     ZERO_POINT = 25.0;
 
     // how many lines in the header?
Index: branches/eam_branches/ipp-20120601/psModules/test/tap/src/tap.c
===================================================================
--- branches/eam_branches/ipp-20120601/psModules/test/tap/src/tap.c	(revision 34051)
+++ branches/eam_branches/ipp-20120601/psModules/test/tap/src/tap.c	(revision 34052)
@@ -87,5 +87,6 @@
     if(test_name != NULL) {
         va_start(ap, test_name);
-        vasprintf(&local_test_name, test_name, ap);
+        int status = vasprintf(&local_test_name, test_name, ap);
+	if (status) {/* warning? */}
         va_end(ap);
 
@@ -303,5 +304,6 @@
 
     va_start(ap, fmt);
-    asprintf(&skip_msg, fmt, ap);
+    int status = asprintf(&skip_msg, fmt, ap);
+    if (status) {/* warning? */}
     va_end(ap);
 
@@ -328,5 +330,6 @@
 
     va_start(ap, fmt);
-    vasprintf(&todo_msg, fmt, ap);
+    int status = vasprintf(&todo_msg, fmt, ap);
+    if (status) {/* warning? */}
     va_end(ap);
 
