diff --git a/services.cc b/services.cc index d96c4ef19..9ee44bc18 100644 --- a/services.cc +++ b/services.cc @@ -112,7 +112,7 @@ static int nmap_services_init() { char filename[512]; FILE *fp; - char servicename[128], proto[16] = { 0 }; + char servicename[128] = { 0 }, proto[16] = { 0 }; u16 portno; const char *p; char line[1024]; @@ -345,9 +345,9 @@ class C_array_iterator: public std::iterator