aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/convenience/convenience.c4
-rw-r--r--src/librtlsdr.c1
-rw-r--r--src/rtl_eeprom.c1
3 files changed, 6 insertions, 0 deletions
diff --git a/src/convenience/convenience.c b/src/convenience/convenience.c
index 517dc4e..00cc2cc 100644
--- a/src/convenience/convenience.c
+++ b/src/convenience/convenience.c
@@ -49,9 +49,11 @@ double atofs(char *s)
case 'g':
case 'G':
suff *= 1e3;
+ /* fall-through */
case 'm':
case 'M':
suff *= 1e3;
+ /* fall-through */
case 'k':
case 'K':
suff *= 1e3;
@@ -76,9 +78,11 @@ double atoft(char *s)
case 'h':
case 'H':
suff *= 60;
+ /* fall-through */
case 'm':
case 'M':
suff *= 60;
+ /* fall-through */
case 's':
case 'S':
suff *= atof(s);
diff --git a/src/librtlsdr.c b/src/librtlsdr.c
index 4fb2128..ae933b0 100644
--- a/src/librtlsdr.c
+++ b/src/librtlsdr.c
@@ -1594,6 +1594,7 @@ found:
switch (dev->tuner_type) {
case RTLSDR_TUNER_R828D:
dev->tun_xtal = R828D_XTAL_FREQ;
+ /* fall-through */
case RTLSDR_TUNER_R820T:
/* disable Zero-IF mode */
rtlsdr_demod_write_reg(dev, 1, 0xb1, 0x1a, 1);
diff --git a/src/rtl_eeprom.c b/src/rtl_eeprom.c
index 5259820..f562d73 100644
--- a/src/rtl_eeprom.c
+++ b/src/rtl_eeprom.c
@@ -303,6 +303,7 @@ int main(int argc, char **argv)
case 'w':
flash_file = 1;
change = 1;
+ /* fall-through */
case 'r':
filename = optarg;
break;