mirror of
https://github.com/upx/upx.git
synced 2024-11-27 06:30:23 +00: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
|
||||
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;
|
||||
}
|
||||
|
@ -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 &) {
|
||||
|
Loading…
Reference in New Issue
Block a user