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 {