Changeset 28304 for branches/czw_branch/20100519/ppStack/src/ppStackLoop.c
- Timestamp:
- Jun 10, 2010, 6:28:51 PM (16 years ago)
- Location:
- branches/czw_branch/20100519
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
ppStack/src/ppStackLoop.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/czw_branch/20100519
- Property svn:mergeinfo changed
-
branches/czw_branch/20100519/ppStack/src/ppStackLoop.c
r27427 r28304 91 91 ppStackMemDump("convolve"); 92 92 93 if (options->quality) { 94 // Can't do anything else 95 return true; 96 } 97 93 98 // Ensure sufficient inputs 94 99 { … … 97 102 bool safe = psMetadataLookupBool(NULL, recipe, "SAFE"); // Be safe when combining 98 103 if (safe && numGood <= 1) { 99 psError(PPSTACK_ERR_REJECTED, true, "Insufficient inputs for combination with safety on"); 100 return false; 104 options->quality = PPSTACK_ERR_REJECTED; 105 psErrorStackPrint(stderr, "Insufficient inputs for combination with safety on"); 106 psErrorClear(); 107 psWarning("Insufficient inputs for combination with safety on"); 108 return true; 101 109 } 102 110 } … … 147 155 int numGood = stackSummary(options, "final combination"); 148 156 if (numGood <= 0) { 149 psError(PPSTACK_ERR_REJECTED, true, "Insufficient inputs for combination"); 150 return false; 157 options->quality = PPSTACK_ERR_REJECTED; 158 psErrorStackPrint(stderr, "Insufficient inputs survived rejection stage"); 159 psErrorClear(); 160 psWarning("Insufficient inputs survived rejection stage"); 161 return true; 151 162 } 152 163 }
Note:
See TracChangeset
for help on using the changeset viewer.
