demo/tut3.c: memset options to 0 before modifying

options.verbose was used uninitialized.
This commit is contained in:
Ian Abbott 2012-05-14 15:04:10 +01:00
parent d1ad074b8c
commit 648fac4772

View file

@ -77,6 +77,7 @@ int main(int argc, char *argv[])
struct parsed_options options;
memset(&options, 0, sizeof(options));
/* The following variables used in this demo
* can be modified by command line
* options. When modifying this demo, you may want to