From 5ab0cdbc681dba9f424745e0bef79e1fe30351da Mon Sep 17 00:00:00 2001 From: Roland Conybeare Date: Sat, 23 Aug 2025 13:09:39 -0400 Subject: [PATCH] xo-ratio: compiler nit --- include/xo/ratio/ratio.hpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/xo/ratio/ratio.hpp b/include/xo/ratio/ratio.hpp index 36c8ae30..ce6ab54b 100644 --- a/include/xo/ratio/ratio.hpp +++ b/include/xo/ratio/ratio.hpp @@ -220,8 +220,6 @@ namespace xo { **/ constexpr ratio power(int p) const { - constexpr ratio retval = ratio(1, 1); - if (p == 0) return ratio(1, 1);