Changeset 9624
- Timestamp:
- Oct 18, 2006, 5:27:49 AM (20 years ago)
- File:
-
- 1 edited
-
trunk/psLib/src/types/psMetadata.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/src/types/psMetadata.c
r9583 r9624 12 12 * @author Ross Harman, MHPCC 13 13 * 14 * @version $Revision: 1.14 0$ $Name: not supported by cvs2svn $15 * @date $Date: 2006-10-1 6 23:34:03$14 * @version $Revision: 1.141 $ $Name: not supported by cvs2svn $ 15 * @date $Date: 2006-10-18 15:27:49 $ 16 16 * 17 17 * Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii … … 1195 1195 } 1196 1196 } 1197 1198 psErrorClear(); // we're going to _append_ errors to the stack 1199 bool noErrors = true; // have see seen any errors? 1200 1197 1201 // Casting away const --- the addition of an iterator should not be considered an invasion of "const". 1198 1202 psMetadataIterator *iter = psMetadataIteratorAlloc(md, PS_LIST_HEAD, NULL); // Iterator … … 1384 1388 // fprintf(fd, "\n"); 1385 1389 psError(PS_ERR_IO, false, "Non-printable metadata type: %x\n", item->type); 1390 noErrors = false; 1386 1391 break; 1387 1392 } … … 1391 1396 psFree(iter); 1392 1397 1393 return true;1398 return noErrors; 1394 1399 } 1395 1400
Note:
See TracChangeset
for help on using the changeset viewer.
