mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2025-10-23 14:19:08 +02:00
cosmetic: Fix "implicit fall-through" gcc 7.3.0 warnings
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user