nghttp: Initialize flag to 0

This commit is contained in:
Tatsuhiro Tsujikawa 2013-09-07 01:46:20 +09:00
parent 4db8338012
commit 92a6549f78
1 changed files with 1 additions and 1 deletions

View File

@ -1467,7 +1467,7 @@ void print_help(std::ostream& out)
int main(int argc, char **argv) int main(int argc, char **argv)
{ {
while(1) { while(1) {
int flag; int flag = 0;
static option long_options[] = { static option long_options[] = {
{"verbose", no_argument, nullptr, 'v'}, {"verbose", no_argument, nullptr, 'v'},
{"null-out", no_argument, nullptr, 'n'}, {"null-out", no_argument, nullptr, 'n'},