Merge commit 'v2.5.1'
[ossec-hids.git] / src / shared / agent_op.c
index beeb361..2ff49b7 100755 (executable)
@@ -1,11 +1,11 @@
-/* @(#) $Id: agent_op.c,v 1.8 2009/12/01 20:27:01 dcid Exp $ */
+/* @(#) $Id$ */
 
 /* Copyright (C) 2009 Trend Micro Inc.
  * All rights reserved.
  *
  * This program is a free software; you can redistribute it
  * and/or modify it under the terms of the GNU General Public
- * License (version 3) as published by the FSF - Free Software
+ * License (version 2) as published by the FSF - Free Software
  * Foundation
  */
 
@@ -74,7 +74,6 @@ int os_set_restart_syscheck()
  */
 char* os_read_agent_name()
 {
-    int i = 0;
     char buf[1024 + 1];
     FILE *fp = NULL;