summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-rw-r--r--apps/plugins/lua/loslib.c1
-rw-r--r--apps/recorder/recording.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/apps/plugins/lua/loslib.c b/apps/plugins/lua/loslib.c
index 19fef84a9c..6cb8c0541b 100644
--- a/apps/plugins/lua/loslib.c
+++ b/apps/plugins/lua/loslib.c
@@ -173,6 +173,7 @@ static int os_time (lua_State *L) {
173 173
174static int os_exit (lua_State *L) { 174static int os_exit (lua_State *L) {
175 exit(luaL_optint(L, 1, EXIT_SUCCESS)); 175 exit(luaL_optint(L, 1, EXIT_SUCCESS));
176 return EXIT_SUCCESS; /* never reached, surpress warning */
176} 177}
177 178
178static const luaL_Reg syslib[] = { 179static const luaL_Reg syslib[] = {
diff --git a/apps/recorder/recording.c b/apps/recorder/recording.c
index dea502c217..fc527923db 100644
--- a/apps/recorder/recording.c
+++ b/apps/recorder/recording.c
@@ -1064,7 +1064,8 @@ bool recording_screen(bool no_source)
1064 int trig_ypos[NB_SCREENS]; /* trigger bar y pos */ 1064 int trig_ypos[NB_SCREENS]; /* trigger bar y pos */
1065 int trig_width[NB_SCREENS]; /* trigger bar width */ 1065 int trig_width[NB_SCREENS]; /* trigger bar width */
1066 int top_height_req[NB_SCREENS]; /* required height for top half */ 1066 int top_height_req[NB_SCREENS]; /* required height for top half */
1067 bool compact_view[NB_SCREENS]; /* tweak layout tiny screens / big fonts */ 1067 /* tweak layout tiny screens / big fonts */
1068 bool compact_view[NB_SCREENS] = { false };
1068 struct gui_synclist lists; /* the list in the bottom vp */ 1069 struct gui_synclist lists; /* the list in the bottom vp */
1069#if defined(HAVE_AGC) || defined(HAVE_RECORDING_HISTOGRAM) 1070#if defined(HAVE_AGC) || defined(HAVE_RECORDING_HISTOGRAM)
1070 bool peak_valid = false; 1071 bool peak_valid = false;