[console] application: appease newer gcc
- From: Zander Brown <zbrown src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [console] application: appease newer gcc
- Date: Thu, 16 Jun 2022 23:33:40 +0000 (UTC)
commit 606c12e64efc148fc69ab07d5419bd590d1782dd
Author: Zander Brown <zbrown gnome org>
Date: Fri Jun 17 00:28:43 2022 +0100
application: appease newer gcc
In practice this was never a problem, since all paths would lead to
initialisation, but nevertheless GCC is right - this should be NULL'd
src/kgx-application.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/kgx-application.c b/src/kgx-application.c
index 6e8e415..afb66d8 100644
--- a/src/kgx-application.c
+++ b/src/kgx-application.c
@@ -338,7 +338,7 @@ kgx_application_startup (GApplication *app)
{
KgxApplication *self = KGX_APPLICATION (app);
HdyStyleManager *style_manager;
- g_autoptr(GAction) settings_action;
+ g_autoptr (GAction) settings_action = NULL;
const char *const new_window_accels[] = { "<shift><primary>n", NULL };
const char *const new_tab_accels[] = { "<shift><primary>t", NULL };
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]