Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: maybe-uninitialized warning in SpacepointBuilder (#1543)
My new GCC does emit a `-Wmaybe-uninitialized` warning in the `SpacePointBuilder.ipp`. Indeed, in the Error case (the `else` branch in the `buildSpacePoint` function) the values `gpos` and `gCov` seems to stay uninitialized. I'm not sure if zero initialization is actually the best thing to do here (maybe @toyamaza can comment on that), maybe return a `Result<void>` could also be an option?
- Loading branch information