aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/type/GenericIO.class.php
diff options
context:
space:
mode:
authorPim van den Berg2012-12-21 19:08:57 +0100
committerPim van den Berg2012-12-21 19:08:57 +0100
commitf30bbf8be225743711d7b161b59b8fb0c310ab22 (patch)
tree917c65604a1c9fe13573728f6b13922da46b0f68 /type/GenericIO.class.php
parentplugin/mysql: add support for cache_result, cache_size, threads, total_threads (diff)
downloadapt-panopticon_cgp-f30bbf8be225743711d7b161b59b8fb0c310ab22.zip
apt-panopticon_cgp-f30bbf8be225743711d7b161b59b8fb0c310ab22.tar.gz
apt-panopticon_cgp-f30bbf8be225743711d7b161b59b8fb0c310ab22.tar.bz2
apt-panopticon_cgp-f30bbf8be225743711d7b161b59b8fb0c310ab22.tar.xz
type: resolve undefined variable $c and $raw notices
Reported-by: Philipp Hellmich <Philipp.Hellmich@Bertelsmann.de>
Diffstat (limited to 'type/GenericIO.class.php')
-rw-r--r--type/GenericIO.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/type/GenericIO.class.php b/type/GenericIO.class.php
index bbbbea7..42314fd 100644
--- a/type/GenericIO.class.php
+++ b/type/GenericIO.class.php
@@ -9,6 +9,7 @@ class Type_GenericIO extends Type_Default {
9 9
10 $sources = $this->rrd_get_sources(); 10 $sources = $this->rrd_get_sources();
11 11
12 $raw = null;
12 if ($this->scale) 13 if ($this->scale)
13 $raw = '_raw'; 14 $raw = '_raw';
14 $i=0; 15 $i=0;