From 394749e7f77286d1892f624e00f412296aaf1782 Mon Sep 17 00:00:00 2001 From: "Matthias P. Braendli" Date: Wed, 22 Jul 2015 21:21:47 +0200 Subject: Add default return for rate_increment_ms --- src/fig/FIG.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fig') diff --git a/src/fig/FIG.h b/src/fig/FIG.h index 04a2cbe..4e6c20f 100644 --- a/src/fig/FIG.h +++ b/src/fig/FIG.h @@ -70,6 +70,7 @@ inline int rate_increment_ms(FIG_rate rate) case FIG_rate::D: return 30000; case FIG_rate::E: return 120000; } + return 1000; //some default value, shouldn't be used } class IFIG -- cgit v1.2.3