1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-12 14:14:48 +02:00

core: fix uninitialized variable when saving layout for windows in upgrade

This commit is contained in:
Sebastien Helleu
2013-03-29 07:35:39 +01:00
parent fe512fdd33
commit 5dbda28263
+2
View File
@@ -346,6 +346,8 @@ upgrade_weechat_save_layout_window (struct t_upgrade_file *upgrade_file)
struct t_gui_layout *ptr_layout;
int rc;
rc = 0;
/* get current layout for windows */
ptr_layout = gui_layout_alloc (GUI_LAYOUT_UPGRADE);