trivial commit, does not change the code behaviour

Signed-off-by: William Dauchy <[email protected]>
---
 src/mux_fcgi.c | 2 +-
 src/mux_h2.c   | 2 +-
 src/ring.c     | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/mux_fcgi.c b/src/mux_fcgi.c
index 875049884..ab9ddf095 100644
--- a/src/mux_fcgi.c
+++ b/src/mux_fcgi.c
@@ -825,7 +825,7 @@ static inline struct fcgi_strm *fcgi_conn_st_by_id(struct 
fcgi_conn *fconn, int
  */
 static void fcgi_release(struct fcgi_conn *fconn)
 {
-       struct connection *conn = NULL;;
+       struct connection *conn = NULL;
 
        TRACE_POINT(FCGI_EV_FCONN_END);
 
diff --git a/src/mux_h2.c b/src/mux_h2.c
index 44955ba8f..bfa65bd24 100644
--- a/src/mux_h2.c
+++ b/src/mux_h2.c
@@ -926,7 +926,7 @@ static inline struct h2s *h2c_st_by_id(struct h2c *h2c, int 
id)
  */
 static void h2_release(struct h2c *h2c)
 {
-       struct connection *conn = NULL;;
+       struct connection *conn = NULL;
 
        TRACE_ENTER(H2_EV_H2C_END);
 
diff --git a/src/ring.c b/src/ring.c
index 7c7d58edc..2ee6c10b9 100644
--- a/src/ring.c
+++ b/src/ring.c
@@ -186,7 +186,7 @@ ssize_t ring_write(struct ring *ring, size_t maxlen, const 
struct ist pfx[], siz
                totlen += len;
        }
 
-       *b_tail(buf) = 0; buf->data++;; // new read counter
+       *b_tail(buf) = 0; buf->data++; // new read counter
        sent = lenlen + totlen + 1;
 
        /* notify potential readers */
-- 
2.28.0


Reply via email to