mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-20 06:21:16 +01:00
[blob] Initialize members if ever on the stack
This commit is contained in:
1 parent
60a9175f2c
commit
9fc31db6fa
1 file changed
+5
-5
+5
-5
@@ -61,12 +61,12 @@ struct hb_blob_t
|
||||
public:
|
||||
hb_object_header_t header;
|
||||
|
||||
const char *data;
|
||||
unsigned int length;
|
||||
hb_memory_mode_t mode;
|
||||
const char *data = nullptr;
|
||||
unsigned int length = 0;
|
||||
hb_memory_mode_t mode = (hb_memory_mode_t) 0;
|
||||
|
||||
void *user_data;
|
||||
hb_destroy_func_t destroy;
|
||||
void *user_data = nullptr;
|
||||
hb_destroy_func_t destroy = nullptr;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user