From 7e143d4422eebb108b6e1d9a67ed5e1b3b5c23da Mon Sep 17 00:00:00 2001 From: Lioncash Date: Wed, 30 Sep 2015 11:53:01 -0400 Subject: symbols: Directly initialize TSymbol members --- src/common/symbols.h | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/common/symbols.h b/src/common/symbols.h index 6b62b011e..e9ddb532d 100644 --- a/src/common/symbols.h +++ b/src/common/symbols.h @@ -12,15 +12,10 @@ struct TSymbol { - TSymbol() : - address(0), - size(0), - type(0) - {} - u32 address; + u32 address = 0; std::string name; - u32 size; - u32 type; + u32 size = 0; + u32 type = 0; }; typedef std::map TSymbolsMap; -- cgit v1.2.3