Removed an unused variable.

This commit is contained in:
Ramon Novoa 2015-08-12 14:40:28 +02:00
parent 3b4abe4e17
commit f49cc7b7b8
1 changed files with 2 additions and 2 deletions

View File

@ -3317,7 +3317,7 @@ sub process_data ($$$$$$$) {
# Process INC modules
if ($module_type =~ m/_inc$/) {
$data = process_inc_data ($pa_config, $data, $agent, $module, $utimestamp, $dbh);
$data = process_inc_data ($pa_config, $data, $module, $utimestamp, $dbh);
# No previous data or error.
return undef unless defined ($data);
@ -3341,7 +3341,7 @@ sub process_data ($$$$$$$) {
# Process data of type *_inc.
##########################################################################
sub process_inc_data ($$$$$) {
my ($pa_config, $data, $agent, $module, $utimestamp, $dbh) = @_;
my ($pa_config, $data, $module, $utimestamp, $dbh) = @_;
my $data_inc = get_db_single_row ($dbh, 'SELECT * FROM tagente_datos_inc WHERE id_agente_modulo = ?', $module->{'id_agente_modulo'});