[console/gnome-42] application: appease newer gcc
- From: Jordan Petridis <jpetridis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [console/gnome-42] application: appease newer gcc
- Date: Thu, 14 Jul 2022 03:26:21 +0000 (UTC)
commit f3ca12afe0a541183e0971ef33c4a55d90b72341
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 ee5fb77..4ffb46c 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]