From 546aa09d8de603b051c97d271be1021301144378 Mon Sep 17 00:00:00 2001 From: Steven Peters Date: Tue, 11 Dec 2018 15:09:56 -0800 Subject: [PATCH] tiny_obj_loader.h: initialize pad_ in constructor --- tiny_obj_loader.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tiny_obj_loader.h b/tiny_obj_loader.h index 778832e..00dfe0b 100644 --- a/tiny_obj_loader.h +++ b/tiny_obj_loader.h @@ -435,7 +435,7 @@ struct face_t { int pad_; std::vector vertex_indices; // face vertex indices. - face_t() : smoothing_group_id(0) {} + face_t() : pad_(0), smoothing_group_id(0) {} }; struct line_t {