git:4.4:3ee23225: ratelimit: removed unused variable

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

git:4.4:3ee23225: ratelimit: removed unused variable

Daniel-Constantin Mierla-6
Module: kamailio
Branch: 4.4
Commit: 3ee232257fbd956b85fa23cf3a5f8766fabd6889
URL: https://github.com/kamailio/kamailio/commit/3ee232257fbd956b85fa23cf3a5f8766fabd6889

Author: Daniel-Constantin Mierla <[hidden email]>
Committer: Daniel-Constantin Mierla <[hidden email]>
Date: 2017-06-16T11:54:53+02:00

ratelimit: removed unused variable

---

Modified: modules/ratelimit/ratelimit.c

---

Diff:  https://github.com/kamailio/kamailio/commit/3ee232257fbd956b85fa23cf3a5f8766fabd6889.diff
Patch: https://github.com/kamailio/kamailio/commit/3ee232257fbd956b85fa23cf3a5f8766fabd6889.patch

---

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) {


_______________________________________________
Kamailio (SER) - Development Mailing List
[hidden email]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev
Loading...