Avoid compiler warnings.

This commit is contained in:
Markus F.X.J. Oberhumer 2010-03-06 16:35:18 +01:00
parent 94e861e298
commit 01daccfaf7
2 changed files with 4 additions and 3 deletions

View File

@ -587,13 +587,13 @@ int __acc_cdecl_qsort le64_compare_signed(const void *, const void *);
// forward declarations
namespace N_BELE_CTP {
class BEPolicy; class LEPolicy;
struct BEPolicy; struct LEPolicy;
extern const BEPolicy be_policy;
extern const LEPolicy le_policy;
}
namespace N_BELE_RTP {
class AbstractPolicy;
class BEPolicy; class LEPolicy;
struct AbstractPolicy;
struct BEPolicy; struct LEPolicy;
extern const BEPolicy be_policy;
extern const LEPolicy le_policy;
}

View File

@ -304,6 +304,7 @@ void do_files(int i, int argc, char *argv[])
} catch (std::bad_alloc *e) {
unlink_ofile(oname);
printErr(iname,"out of memory");
UNUSED(e);
//delete e;
e_exit(EXIT_ERROR);
} catch (const std::bad_alloc &) {