Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.xiph.org/xiph/opus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Buethe <jbuethe@amazon.de>2023-12-18 11:54:48 +0300
committerJean-Marc Valin <jmvalin@amazon.com>2023-12-20 07:01:34 +0300
commit161f6ecf8b1919d13b2acbab7ff6312dd07410bc (patch)
treeef2fc5638a0a39a6075baeed51cb1f471a7e096d
parent9b9822a4758f2c95ecd106d96a21519b66d14b90 (diff)
removed unused variables
-rw-r--r--dnn/osce.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/dnn/osce.c b/dnn/osce.c
index f14e7455..9693b3d9 100644
--- a/dnn/osce.c
+++ b/dnn/osce.c
@@ -48,10 +48,6 @@
#include <stdio.h>
#endif
-#ifndef M_PI
-#define M_PI 3.141592653
-#endif
-
#define CLIP(a, min, max) (((a) < (min) ? (min) : (a)) > (max) ? (max) : (a))
#define MAX(a, b) ((a) < (b) ? (b) : (a))
@@ -85,7 +81,7 @@ static void compute_lace_numbits_embedding(float *emb, float numbits, int dim, f
static int init_lace(LACE *hLACE, const WeightArray *weights)
{
- int i, ret = 0;
+ int ret = 0;
OPUS_CLEAR(hLACE, 1);
celt_assert(weights != NULL);
@@ -350,7 +346,7 @@ static void compute_nolace_numbits_embedding(float *emb, float numbits, int dim,
static int init_nolace(NoLACE *hNoLACE, const WeightArray *weights)
{
- int i, ret = 0;
+ int ret = 0;
OPUS_CLEAR(hNoLACE, 1);
celt_assert(weights != NULL);