From a46611a3b62a60df629fe6774f684b0bf18f4246 Mon Sep 17 00:00:00 2001
From: Kirill Yukhin <kyukhin@tarantool.org>
Date: Mon, 20 Apr 2020 11:56:06 +0300
Subject: [PATCH] Fix build after popen patchset

Make older compiler happy w.r.t.
initialization of locals.
---
 src/lua/popen.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lua/popen.c b/src/lua/popen.c
index da28b51719..0e930e91b1 100644
--- a/src/lua/popen.c
+++ b/src/lua/popen.c
@@ -1370,7 +1370,7 @@ lbox_popen_new(struct lua_State *L)
 						   "table or nil");
 
 	/* Parse opts and argv. */
-	struct popen_opts opts = {};
+	struct popen_opts opts = { .argv = NULL, };
 	int rc = luaT_popen_parse_opts(L, 2, &opts, region);
 	if (rc != 0)
 		goto err;
@@ -2153,7 +2153,7 @@ lbox_popen_info(struct lua_State *L)
 	if (is_closed)
 		return luaT_popen_handle_closed_error(L);
 
-	struct popen_stat st = {};
+	struct popen_stat st;
 
 	popen_stat(handle, &st);
 
-- 
GitLab