summaryrefslogtreecommitdiff
path: root/multiload
diff options
context:
space:
mode:
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;