tests: virnetdaemontest: split variable declarations

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Laine Stump <laine@redhat.com>
This commit is contained in:
Ján Tomko 2021-09-03 21:34:23 +02:00
parent 6f7f5829f1
commit b078312a69

View File

@ -270,8 +270,10 @@ static int testExecRestart(const void *opaque)
int ret = -1;
virNetDaemon *dmn = NULL;
const struct testExecRestartData *data = opaque;
char *infile = NULL, *outfile = NULL;
char *injsonstr = NULL, *outjsonstr = NULL;
char *infile = NULL;
char *outfile = NULL;
char *injsonstr = NULL;
char *outjsonstr = NULL;
virJSONValue *injson = NULL;
virJSONValue *outjson = NULL;
int fdclient[2] = { -1, -1 }, fdserver[2] = { -1, -1 };