diff options
author | Takashi Kokubun <[email protected]> | 2024-02-22 15:28:46 -0800 |
---|---|---|
committer | GitHub <[email protected]> | 2024-02-22 23:28:46 +0000 |
commit | 38bf622cdc9d2b338156e3bfe75858e26acd9e49 (patch) | |
tree | 72298567183202248bccc2a91066c29e99391f33 /complex.c | |
parent | cdca94208f18b0921340906a1cb43f88737539e2 (diff) |
Fix -Wmaybe-uninitialized on Complex#** (#10075)
Diffstat (limited to 'complex.c')
-rw-r--r-- | complex.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1065,6 +1065,8 @@ complex_pow_for_special_angle(VALUE self, VALUE other) else if (f_eqeq_p(dat->real, f_negate(dat->imag))) { x = dat->imag; dir = 3; + } else { + dir = 0; } if (UNDEF_P(x)) return x; |