Author: jan
Date: 2007-08-03 00:00:50 +0200 (Fri, 03 Aug 2007)
New Revision: 360

Modified:
   trunk/openvas-libraries/ChangeLog
   trunk/openvas-libraries/libopenvas/plugutils.c
   trunk/openvas-libraries/libopenvas/scanners_utils.c
   trunk/openvas-libraries/libopenvas/store.c
Log:
* libopenvas/plugutils.c, libopenvas/scanners_utils.c,
libopenvas/store.c: Removed unused variables.


Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog   2007-08-02 21:19:46 UTC (rev 359)
+++ trunk/openvas-libraries/ChangeLog   2007-08-02 22:00:50 UTC (rev 360)
@@ -1,5 +1,10 @@
 2007-08-02  Jan-Oliver Wagner <[EMAIL PROTECTED]>
 
+       * libopenvas/plugutils.c, libopenvas/scanners_utils.c,
+       libopenvas/store.c: Removed unused variables.
+
+2007-08-02  Jan-Oliver Wagner <[EMAIL PROTECTED]>
+
        * libopenvas_hg/Makefile: Fix dependencies for target test.
 
        * libopenvas_hg/hosts_gatherer.h: Add missing proto

Modified: trunk/openvas-libraries/libopenvas/plugutils.c
===================================================================
--- trunk/openvas-libraries/libopenvas/plugutils.c      2007-08-02 21:19:46 UTC 
(rev 359)
+++ trunk/openvas-libraries/libopenvas/plugutils.c      2007-08-02 22:00:50 UTC 
(rev 360)
@@ -1028,12 +1028,8 @@
  char * cve;
  char * bid;
  char * xref;
- int do_send = 1;
  int i;
- char ack;
- int n = 0, e, l;
-  
-    
+
  if( action == NULL )action = plug_get_description(desc);
  
  
@@ -1533,7 +1529,6 @@
  const char * hn = plug_get_hostname(args);
  int len;
  int soc;
- struct arglist * globs;
  int do_send = 1;
  static int confirm = -1;
  
@@ -1752,7 +1747,7 @@
       {
       int e;
       int status;
-      struct arglist * globals, * preferences = NULL;
+      struct arglist * globals;
   
       globals = arg_get_value(args, "globals");  
       upstream = (int)arg_get_value(globals, "global_socket");
@@ -1803,8 +1798,6 @@
 plug_get_host_open_port(struct arglist * desc)
 {
  struct kb_item ** kb = plug_get_kb(desc);
- char * t;
- int port = 0;
  struct kb_item * res, *k;
  int open21 = 0, open80 = 0;
 #define MAX_CANDIDATES 16

Modified: trunk/openvas-libraries/libopenvas/scanners_utils.c
===================================================================
--- trunk/openvas-libraries/libopenvas/scanners_utils.c 2007-08-02 21:19:46 UTC 
(rev 359)
+++ trunk/openvas-libraries/libopenvas/scanners_utils.c 2007-08-02 22:00:50 UTC 
(rev 360)
@@ -40,11 +40,7 @@
  ntp_caps* caps = arg_get_value(globals, "ntp_caps");
  int soc = (int)arg_get_value(globals, "global_socket");
  char buffer[2048];
- int e, n = 0, l, ack;
- fd_set rd, wr;
- struct timeval tv;
- 
- 
+
  if (soc < 0 || soc > 1024) 
   return -1;
  

Modified: trunk/openvas-libraries/libopenvas/store.c
===================================================================
--- trunk/openvas-libraries/libopenvas/store.c  2007-08-02 21:19:46 UTC (rev 
359)
+++ trunk/openvas-libraries/libopenvas/store.c  2007-08-02 22:00:50 UTC (rev 
360)
@@ -346,7 +346,7 @@
  struct pprefs pp[MAX_PREFS+1];
  char  * str;
  char * dir;
- struct arglist * arglist, * ret,  *prefs;
+ struct arglist * arglist, * prefs;
  int e;
  int fd;
  int num_plugin_prefs = 0;

_______________________________________________
Openvas-commits mailing list
[email protected]
http://lists.wald.intevation.org/mailman/listinfo/openvas-commits

Reply via email to