From 92a6549f78412ba6c88467621510b264d674bbfd Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Sat, 7 Sep 2013 01:46:20 +0900 Subject: [PATCH] nghttp: Initialize flag to 0 --- src/nghttp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nghttp.cc b/src/nghttp.cc index c90b5ad2..2ee49fd0 100644 --- a/src/nghttp.cc +++ b/src/nghttp.cc @@ -1467,7 +1467,7 @@ void print_help(std::ostream& out) int main(int argc, char **argv) { while(1) { - int flag; + int flag = 0; static option long_options[] = { {"verbose", no_argument, nullptr, 'v'}, {"null-out", no_argument, nullptr, 'n'},