mirror of
https://github.com/upx/upx
synced 2025-09-28 19:06:07 +08:00
Avoid compiler warnings.
This commit is contained in:
parent
94e861e298
commit
01daccfaf7
|
@ -587,13 +587,13 @@ int __acc_cdecl_qsort le64_compare_signed(const void *, const void *);
|
||||||
|
|
||||||
// forward declarations
|
// forward declarations
|
||||||
namespace N_BELE_CTP {
|
namespace N_BELE_CTP {
|
||||||
class BEPolicy; class LEPolicy;
|
struct BEPolicy; struct LEPolicy;
|
||||||
extern const BEPolicy be_policy;
|
extern const BEPolicy be_policy;
|
||||||
extern const LEPolicy le_policy;
|
extern const LEPolicy le_policy;
|
||||||
}
|
}
|
||||||
namespace N_BELE_RTP {
|
namespace N_BELE_RTP {
|
||||||
class AbstractPolicy;
|
struct AbstractPolicy;
|
||||||
class BEPolicy; class LEPolicy;
|
struct BEPolicy; struct LEPolicy;
|
||||||
extern const BEPolicy be_policy;
|
extern const BEPolicy be_policy;
|
||||||
extern const LEPolicy le_policy;
|
extern const LEPolicy le_policy;
|
||||||
}
|
}
|
||||||
|
|
|
@ -304,6 +304,7 @@ void do_files(int i, int argc, char *argv[])
|
||||||
} catch (std::bad_alloc *e) {
|
} catch (std::bad_alloc *e) {
|
||||||
unlink_ofile(oname);
|
unlink_ofile(oname);
|
||||||
printErr(iname,"out of memory");
|
printErr(iname,"out of memory");
|
||||||
|
UNUSED(e);
|
||||||
//delete e;
|
//delete e;
|
||||||
e_exit(EXIT_ERROR);
|
e_exit(EXIT_ERROR);
|
||||||
} catch (const std::bad_alloc &) {
|
} catch (const std::bad_alloc &) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user