summaryrefslogtreecommitdiff
path: root/cpufreq/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2014-10-28 17:36:54 +0300
committerStefano Karapetsas <[email protected]>2014-11-26 09:54:18 +0100
commitc5e3a3c796cb9397871e6f4da5d9afa454e311a6 (patch)
tree1407e687f8bc65b5c8e2680d597e236950e0956b /cpufreq/src
parentb9f6bf89972e55e14774df4cfb819c9ee97e74ee (diff)
downloadmate-applets-c5e3a3c796cb9397871e6f4da5d9afa454e311a6.tar.bz2
mate-applets-c5e3a3c796cb9397871e6f4da5d9afa454e311a6.tar.xz
zero-init signals array
Closes https://github.com/mate-desktop/mate-applets/pull/108
Diffstat (limited to 'cpufreq/src')
-rw-r--r--cpufreq/src/cpufreq-monitor.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cpufreq/src/cpufreq-monitor.c b/cpufreq/src/cpufreq-monitor.c
index 201f8a45..caf962fa 100644
--- a/cpufreq/src/cpufreq-monitor.c
+++ b/cpufreq/src/cpufreq-monitor.c
@@ -16,7 +16,7 @@
* License along with this library; if not, write to the Free
* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*
- * Authors : Carlos Garc�a Campos <[email protected]>
+ * Authors : Carlos García Campos <[email protected]>
*/
#include "cpufreq-monitor.h"
@@ -68,7 +68,7 @@ static void cpufreq_monitor_get_property (GObject *object,
GValue *value,
GParamSpec *spec);
-static guint signals[N_SIGNALS];
+static guint signals[N_SIGNALS] = { 0 };
G_DEFINE_ABSTRACT_TYPE (CPUFreqMonitor, cpufreq_monitor, G_TYPE_OBJECT)