Skip to content

Commit

Permalink
fec/autotest: adding 'default' switch case to clear gcc warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jgaeddert committed Jun 19, 2023
1 parent 6e29a7c commit 8bf87b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/fec/tests/fec_autotest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
1 change: 1 addition & 0 deletions src/fec/tests/fec_copy_autotest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
1 change: 1 addition & 0 deletions src/fec/tests/fec_soft_autotest.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 8bf87b6

Please sign in to comment.