aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorJ08nY2017-06-05 03:02:59 +0200
committerJ08nY2017-06-05 03:02:59 +0200
commitb93ff135327915964f98716081a3ad9f9d0e9442 (patch)
tree13188f68e635c61c84cf07c40728bad02f8cf534 /src/math
parent027c13dc25e5cabd137d3318db7a7a0c3f700884 (diff)
downloadecgen-b93ff135327915964f98716081a3ad9f9d0e9442.tar.gz
ecgen-b93ff135327915964f98716081a3ad9f9d0e9442.tar.zst
ecgen-b93ff135327915964f98716081a3ad9f9d0e9442.zip
Fix formatting and whitespace.
Diffstat (limited to 'src/math')
-rw-r--r--src/math/subgroups.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/math/subgroups.c b/src/math/subgroups.c
index 91bd16a..7665ff3 100644
--- a/src/math/subgroups.c
+++ b/src/math/subgroups.c
@@ -3,7 +3,6 @@
* Copyright (C) 2017 J08nY
*/
#include "subgroups.h"
-#include "io/output.h"
/**
* @brief All prime divisors of a given integer.
@@ -20,7 +19,7 @@ static GEN subgroups_factors(GEN order) {
* @param order
* @return
*/
-static GEN subgroups_divisors(GEN order) {
+static GEN __attribute__((unused)) subgroups_divisors(GEN order) {
GEN factors = Z_factor(order);
GEN primes = gel(factors, 1);
GEN multiples = gel(factors, 2);
@@ -115,4 +114,4 @@ GEN subgroups_all(const curve_t *curve, const config_t *cfg) {
GEN factors = subgroups_factors(curve->order);
return subgroups_2n(factors, 0);
}
-} \ No newline at end of file
+}