From 8bf87b6fe325d98c250d6911fa50518d14175d86 Mon Sep 17 00:00:00 2001 From: "Joseph D. Gaeddert" Date: Mon, 19 Jun 2023 18:04:12 -0400 Subject: [PATCH] fec/autotest: adding 'default' switch case to clear gcc warnings --- src/fec/tests/fec_autotest.c | 1 + src/fec/tests/fec_copy_autotest.c | 1 + src/fec/tests/fec_soft_autotest.c | 1 + 3 files changed, 3 insertions(+) diff --git a/src/fec/tests/fec_autotest.c b/src/fec/tests/fec_autotest.c index d03712ce1..e65fa110a 100644 --- a/src/fec/tests/fec_autotest.c +++ b/src/fec/tests/fec_autotest.c @@ -49,6 +49,7 @@ void fec_test_codec(fec_scheme _fs, unsigned int _n, void * _opts) case LIQUID_FEC_RS_M8: AUTOTEST_WARN("convolutional, Reed-Solomon codes unavailable (install libfec)"); return; + default:; } #endif diff --git a/src/fec/tests/fec_copy_autotest.c b/src/fec/tests/fec_copy_autotest.c index bcb2d1ca3..a47addb78 100644 --- a/src/fec/tests/fec_copy_autotest.c +++ b/src/fec/tests/fec_copy_autotest.c @@ -49,6 +49,7 @@ void fec_test_copy(fec_scheme _fs) case LIQUID_FEC_RS_M8: AUTOTEST_WARN("convolutional, Reed-Solomon codes unavailable (install libfec)"); return; + default:; } #endif unsigned int n_dec = 64; diff --git a/src/fec/tests/fec_soft_autotest.c b/src/fec/tests/fec_soft_autotest.c index 0ef350493..c0d2ef247 100644 --- a/src/fec/tests/fec_soft_autotest.c +++ b/src/fec/tests/fec_soft_autotest.c @@ -52,6 +52,7 @@ void fec_test_soft_codec(fec_scheme _fs, case LIQUID_FEC_RS_M8: AUTOTEST_WARN("convolutional, Reed-Solomon codes unavailable (install libfec)"); return; + default:; } #endif