luaclient: fix "jump to...crosses initialization of" error

Origin commit data
------------------
Commit: a21399479e
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2015-01-26 (Mon, 26 Jan 2015)
This commit is contained in:
Stefan Seyfried
2015-01-26 13:51:20 +01:00
committed by Jacek Jendrzej
parent 1a5ff13a13
commit 5a5ad3a902

View File

@@ -76,6 +76,7 @@ int main(int argc, char** argv)
int res = -1;
const char *fun = NULL;
char *resp = NULL;
char result[size];
if (!client.Send(data, size)) {
fun = "Send failed";
@@ -85,7 +86,6 @@ int main(int argc, char** argv)
fun = "Recv (1) failed";
goto fail;
}
char result[size];
if (!client.Recv(result, size)) {
fun = "Recv (2) failed";
goto fail;