This is an automated email from the ASF dual-hosted git repository. acassis pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/nuttx.git
commit 9940872fb257b7459d22733fedb430c6ff03ecea Author: Marco Casaroli <[email protected]> AuthorDate: Wed Nov 11 14:41:22 2026 +0100 libs/libm/libm/lib_gamma.c: Fix the indentation of a switch statement. nxstyle reports "Bad alignment" for the case labels of the switch statement in the sin(pi x) helper. Indent them as the NuttX coding standard asks. No code change. Assisted-by: Claude Code:claude-opus-5-5 Signed-off-by: Marco Casaroli <[email protected]> --- libs/libm/libm/lib_gamma.c | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/libs/libm/libm/lib_gamma.c b/libs/libm/libm/lib_gamma.c index 56d76edf2bf..4549e243db4 100644 --- a/libs/libm/libm/lib_gamma.c +++ b/libs/libm/libm/lib_gamma.c @@ -171,18 +171,18 @@ static double sinpi(double x) x *= pi; switch (n) { - default: /* case 4 */ - case 0: - return __sin(x, 0, 0); + default: /* case 4 */ + case 0: + return __sin(x, 0, 0); - case 1: - return __cos(x, 0); + case 1: + return __cos(x, 0); - case 2: - return __sin(-x, 0, 0); + case 2: + return __sin(-x, 0, 0); - case 3: - return -__cos(x, 0); + case 3: + return -__cos(x, 0); } }
