summaryrefslogtreecommitdiff
path: root/multiload
diff options
context:
space:
mode:
authorrbuj <[email protected]>2020-04-08 11:59:34 +0200
committerRobert Antoni Buj Gelonch <[email protected]>2020-04-16 14:35:58 +0200
commit06ec8896af725b80d9adc7f94699001b0dc23489 (patch)
treee40f741a7cf2ab7946feaf7ba9bf9318959d4031 /multiload
parentea2c6735e3c8a5e5a91e5472123eeaee70716478 (diff)
downloadmate-applets-06ec8896af725b80d9adc7f94699001b0dc23489.tar.bz2
mate-applets-06ec8896af725b80d9adc7f94699001b0dc23489.tar.xz
Remove unused-variable warnings
Diffstat (limited to 'multiload')
-rw-r--r--multiload/linux-proc.c4
-rw-r--r--multiload/load-graph.c1
2 files changed, 0 insertions, 5 deletions
diff --git a/multiload/linux-proc.c b/multiload/linux-proc.c
index 355fe040..db532b8c 100644
--- a/multiload/linux-proc.c
+++ b/multiload/linux-proc.c
@@ -296,8 +296,6 @@ GetSwap (int Maximum, int data [2], LoadGraph *g)
void
GetLoadAvg (int Maximum, int data [2], LoadGraph *g)
{
- float used;
-
glibtop_loadavg loadavg;
glibtop_get_loadavg (&loadavg);
@@ -380,7 +378,6 @@ GetNet (int Maximum, int data [4], LoadGraph *g)
for(i = 0; i < netlist.number; ++i)
{
- int index;
glibtop_netload netload;
glibtop_get_netload(&netload, devices[i]);
@@ -419,7 +416,6 @@ GetNet (int Maximum, int data [4], LoadGraph *g)
else
{
int delta[COUNT_TYPES];
- int max;
int total = 0;
for (i = 0; i < COUNT_TYPES; i++)
diff --git a/multiload/load-graph.c b/multiload/load-graph.c
index 5eb90e8f..9c2af5f5 100644
--- a/multiload/load-graph.c
+++ b/multiload/load-graph.c
@@ -106,7 +106,6 @@ load_graph_draw (LoadGraph *g)
}
//printf("max = %d ", maxnet);
guint level = 0;
- GdkRGBA grid_color;
if (maxnet > g->net_threshold3) {
g->net_threshold = g->net_threshold3;
level = 3;