Module: kamailio
Branch: 4.4
Commit: 3ee232257fbd956b85fa23cf3a5f8766fabd6889
URL:
https://github.com/kamailio/kamailio/commit/3ee232257fbd956b85fa23cf3a5f876…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-06-16T11:54:53+02:00
ratelimit: removed unused variable
---
Modified: modules/ratelimit/ratelimit.c
---
Diff:
https://github.com/kamailio/kamailio/commit/3ee232257fbd956b85fa23cf3a5f876…
Patch:
https://github.com/kamailio/kamailio/commit/3ee232257fbd956b85fa23cf3a5f876…
---
diff --git a/modules/ratelimit/ratelimit.c b/modules/ratelimit/ratelimit.c
index b8a053ef75..2d028924d0 100644
--- a/modules/ratelimit/ratelimit.c
+++ b/modules/ratelimit/ratelimit.c
@@ -324,7 +324,6 @@ static int get_cpuload(double * load)
static int first_time = 1;
FILE * f = fopen("/proc/stat", "r");
double vload;
- int ncpu;
static int errormsg = 0;
if (! f) {