Skip to content

Commit

Permalink
Fix unused variable (Cacti#5764)
Browse files Browse the repository at this point in the history
Variable $width_errors is never user anywhere.
  • Loading branch information
simfishing authored and TheWitness committed Jun 20, 2024
1 parent f6199ab commit 17228a4
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion cmd.php
Original file line number Diff line number Diff line change
Expand Up @@ -429,7 +429,6 @@

if (read_config_option('poller_debug') == 'on' && strlen($output) > $maxwidth) {
$width_dses[] = $ds;
$width_errors++;
}

if ($set_spike_kill && !substr_count($output, ':')) {
Expand Down

0 comments on commit 17228a4

Please sign in to comment.