Index: /branches/eam_branches/20091201/psLib/src/types/psMetadata.c
===================================================================
--- /branches/eam_branches/20091201/psLib/src/types/psMetadata.c	(revision 26530)
+++ /branches/eam_branches/20091201/psLib/src/types/psMetadata.c	(revision 26531)
@@ -622,6 +622,6 @@
 
 // may need to extend this to change the keyname in the copy
-bool psMetadataItemSupplement(bool *status, 
-			      psMetadata *out,
+bool psMetadataItemSupplement(bool *status,
+                              psMetadata *out,
                               const psMetadata *in,
                               const char *key)
@@ -633,9 +633,9 @@
     psMetadataItem *item = psMetadataLookup(in, key);
     if (!item) {
-	if (status) {
-	    *status = false;
-	} else {
-	    psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Could not find '%s' in metadata.\n", key);
-	}
+        if (status) {
+            *status = false;
+        } else {
+            psError(PS_ERR_BAD_PARAMETER_VALUE, true, "Could not find '%s' in metadata.\n", key);
+        }
         return false;
     }
@@ -977,12 +977,5 @@
 {
     PS_ASSERT_METADATA_NON_NULL(md, false);
-
-    psList* mdList = md->list;
-    psHash* mdTable = md->hash;
-
-    psMetadataItem* entry = psListGet(mdList, location);
-    if (entry == NULL) return NULL;
-
-    return entry;
+    return psListGet(md->list, location);
 }
 
