mirror of https://github.com/CGAL/cgal
Fix uninitialized member warning in Gmpz_type.h
This commit is contained in:
parent
1cebf95ac7
commit
eb81d597a1
|
|
@ -43,7 +43,7 @@ struct Gmpz_rep
|
||||||
// maybe the mpz_init_set* functions should move back to Gmpz_rep.
|
// maybe the mpz_init_set* functions should move back to Gmpz_rep.
|
||||||
// But then we should use the Storage_traits::construct/get...
|
// But then we should use the Storage_traits::construct/get...
|
||||||
|
|
||||||
mpz_t mpZ;
|
mpz_t mpZ; /* coverity[member_decl] */
|
||||||
|
|
||||||
Gmpz_rep() {}
|
Gmpz_rep() {}
|
||||||
~Gmpz_rep() { mpz_clear(mpZ); }
|
~Gmpz_rep() { mpz_clear(mpZ); }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue