Commit 8dff643f by Serge Hallyn

Initialize curtime to silence spurious compiler warning

parent ca0a3364
...@@ -210,7 +210,7 @@ extern int lxc_wait(char *lxcname, char *states, int timeout) ...@@ -210,7 +210,7 @@ extern int lxc_wait(char *lxcname, char *states, int timeout)
} }
for (;;) { for (;;) {
int elapsed_time, curtime; int elapsed_time, curtime = 0;
struct timeval tv; struct timeval tv;
int stop = 0; int stop = 0;
int retval; int retval;
......
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