[Openvas-commits] r5528 - in trunk/openvas-scanner: . openvassd

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 14 00:22:55 CEST 2009


Author: jan
Date: 2009-10-14 00:22:54 +0200 (Wed, 14 Oct 2009)
New Revision: 5528

Modified:
   trunk/openvas-scanner/ChangeLog
   trunk/openvas-scanner/openvassd/openvassd.c
Log:
* openvassd/openvassd.c (scanner_thread): Add NULL initialization
to get rid of compiler warning.



Modified: trunk/openvas-scanner/ChangeLog
===================================================================
--- trunk/openvas-scanner/ChangeLog	2009-10-13 21:42:29 UTC (rev 5527)
+++ trunk/openvas-scanner/ChangeLog	2009-10-13 22:22:54 UTC (rev 5528)
@@ -1,3 +1,8 @@
+2009-10-14  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
+
+	* openvassd/openvassd.c (scanner_thread): Add NULL initialization
+	to get rid of compiler warning.
+
 2009-10-13  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
 
 	* openvassd/plugs_hash.c (plugins_send_md5_byid): Renamed to

Modified: trunk/openvas-scanner/openvassd/openvassd.c
===================================================================
--- trunk/openvas-scanner/openvassd/openvassd.c	2009-10-13 21:42:29 UTC (rev 5527)
+++ trunk/openvas-scanner/openvassd/openvassd.c	2009-10-13 22:22:54 UTC (rev 5528)
@@ -336,7 +336,7 @@
  int e;
  int opt = 1;
  void *addr = arg_get_value (globals, "client_address");
- struct sockaddr_in *saddr;
+ struct sockaddr_in *saddr = NULL;
  struct sockaddr_in6 *s6addr;
  inaddrs_t addrs;
 



More information about the Openvas-commits mailing list