Commit 88bd35a4 authored by Andrey Vagin's avatar Andrey Vagin

zdtm: initilize a variable in cmdlinenv00.c

parent 9d913b65
...@@ -21,7 +21,7 @@ TEST_OPTION(arg3, string, "arg3", 1); ...@@ -21,7 +21,7 @@ TEST_OPTION(arg3, string, "arg3", 1);
static void read_from_proc(const char *path, char *buf, size_t size) static void read_from_proc(const char *path, char *buf, size_t size)
{ {
size_t r, ret; size_t r = 0, ret;
int fd; int fd;
fd = open(path, O_RDONLY); fd = open(path, O_RDONLY);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment