From 05149cd4dc3896103a58903f635dc42135c53d96 Mon Sep 17 00:00:00 2001 From: Solomon Peachy Date: Mon, 11 Jul 2022 16:09:02 -0400 Subject: Fix a couple of warnings uncovered by GCC12 Change-Id: Ib628a27bfc6f95a822e46b931ccfbed90f41b122 --- apps/menus/main_menu.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/menus/main_menu.c') diff --git a/apps/menus/main_menu.c b/apps/menus/main_menu.c index 5e9b935937..321f2cdec4 100644 --- a/apps/menus/main_menu.c +++ b/apps/menus/main_menu.c @@ -338,7 +338,7 @@ static int info_speak_item(int selected_item, void * data) #ifdef HAVE_RECORDING case INFO_REC_DIR: talk_id(LANG_REC_DIR, false); - if (global_settings.rec_directory && global_settings.rec_directory[0]) + if (global_settings.rec_directory[0]) { long *pathsep = NULL; char rec_directory[MAX_PATHNAME+1]; -- cgit v1.2.3