Removed an unused variable.
This commit is contained in:
parent
3b4abe4e17
commit
f49cc7b7b8
|
@ -3317,7 +3317,7 @@ sub process_data ($$$$$$$) {
|
||||||
|
|
||||||
# Process INC modules
|
# Process INC modules
|
||||||
if ($module_type =~ m/_inc$/) {
|
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.
|
# No previous data or error.
|
||||||
return undef unless defined ($data);
|
return undef unless defined ($data);
|
||||||
|
@ -3341,7 +3341,7 @@ sub process_data ($$$$$$$) {
|
||||||
# Process data of type *_inc.
|
# Process data of type *_inc.
|
||||||
##########################################################################
|
##########################################################################
|
||||||
sub process_inc_data ($$$$$) {
|
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'});
|
my $data_inc = get_db_single_row ($dbh, 'SELECT * FROM tagente_datos_inc WHERE id_agente_modulo = ?', $module->{'id_agente_modulo'});
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue