Without initializing these variables, nbd-client will some of the time
list exports instead of connecting to them, depending on the wing flaps
of a butterfly and cosmic alien rays. The fix is to set the flags to 0
so that nbd-client operates reliably.
int nonspecial=0;
char* name=NULL;
uint32_t needed_flags=0;
- uint32_t cflags;
- uint32_t opts;
+ uint32_t cflags=0;
+ uint32_t opts=0;
struct option long_options[] = {
{ "block-size", required_argument, NULL, 'b' },
{ "check", required_argument, NULL, 'c' },