Use C++ 14 alignas(), init some struct fields just because of good practice.

This commit is contained in:
Markus F.X.J. Oberhumer
2021-01-04 21:02:07 +01:00
parent 2575eef3c0
commit 9aef7b0d6f
5 changed files with 42 additions and 47 deletions
+2 -2
View File
@@ -87,14 +87,14 @@ public:
protected:
virtual void printInfo(int nl = 0);
const Packer *p;
const Packer *p = nullptr;
// callback
upx_callback_t cb;
// internal state
struct State;
State *s;
State *s = nullptr;
// totals
static unsigned total_files;