summaryrefslogtreecommitdiff
path: root/core/pool_allocator.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/pool_allocator.h')
-rw-r--r--core/pool_allocator.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/core/pool_allocator.h b/core/pool_allocator.h
index 8c1710ebe0..1cc21afb21 100644
--- a/core/pool_allocator.h
+++ b/core/pool_allocator.h
@@ -61,10 +61,10 @@ private:
struct Entry {
- unsigned int pos;
- unsigned int len;
- unsigned int lock;
- unsigned int check;
+ unsigned int pos = 0;
+ unsigned int len = 0;
+ unsigned int lock = 0;
+ unsigned int check = 0;
inline void clear() {
pos = 0;
@@ -72,7 +72,7 @@ private:
lock = 0;
check = 0;
}
- Entry() { clear(); }
+ Entry() {}
};
typedef int EntryArrayPos;