OSSP CVS Repository

ossp - Difference in ossp-pkg/snmpdx/snmpdx.d/hwCpu.pm versions 1.8 and 1.9
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/snmpdx/snmpdx.d/hwCpu.pm 1.8 -> 1.9

--- hwCpu.pm     2003/09/10 15:01:46     1.8
+++ hwCpu.pm     2004/07/28 13:00:59     1.9
@@ -37,8 +37,8 @@
     my ($self, $obj) = @_;
 
     if ($self->{-ctx}->{-platform}->id() =~ m/FreeBSD/i) {
-        my $hwCpuNum   = undef;
-        my @hwCpuENTRY = undef; #N/A
+        my $hwCpuNum;
+        my @hwCpuENTRY; #N/A
 
         #   local workspace
         my $out; my $raw;
@@ -53,8 +53,8 @@
         $obj->{-value} = $hwCpuNum if ($obj->{-name} =~ m/\.hwCpuNum$/);
     }
     elsif ($self->{-ctx}->{-platform}->id() =~ m/Linux/i) {
-        my $hwCpuNum   = undef;
-        my @hwCpuENTRY = undef; #N/A
+        my $hwCpuNum;
+        my @hwCpuENTRY; #N/A
 
         #   local workspace
         my $out; my $raw;
@@ -71,8 +71,8 @@
         $obj->{-value} = $hwCpuNum if ($obj->{-name} =~ m/\.hwCpuNum$/);
     }
     elsif($self->{-ctx}->{-platform}->id() =~ m/SunOS/i) {
-        my $hwCpuNum   = undef;
-        my @hwCpuENTRY = undef;
+        my $hwCpuNum;
+        my @hwCpuENTRY;
 
         #   local workspace
         my $out; my $raw; my $arch;

CVSTrac 2.0.1