]> jfr.im git - solanum.git/blobdiff - tests/rb_linebuf_put1.c
tests: send1: fix sendto_channel_opmod (remote) to cover all scenarios
[solanum.git] / tests / rb_linebuf_put1.c
index 7854fd49580a9ea15ff13562b93925cd09f7a73e..b661de0e27d662af6d437c2e23c489601578484c 100644 (file)
@@ -31,7 +31,6 @@
 #define MSG "%s:%d (%s)", __FILE__, __LINE__, __FUNCTION__
 
 struct Client me;
-static char tmp[2048];
 static const char text[] =
 "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba"
 "ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba9876543210abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
@@ -486,7 +485,6 @@ static void long_msgf2(void)
 {
        buf_head_t linebuf;
        char output[2048] = { 0 };
-       char prefix[2048] = { 0 };
        int len;
 
        rb_linebuf_newbuf(&linebuf);
@@ -509,7 +507,6 @@ static void too_long_msgf2(void)
 {
        buf_head_t linebuf;
        char output[2048] = { 0 };
-       char prefix[2048] = { 0 };
        int len;
 
        rb_linebuf_newbuf(&linebuf);
@@ -593,7 +590,6 @@ static void long_vmsg2(void)
 {
        buf_head_t linebuf;
        char output[2048] = { 0 };
-       char prefix[2048] = { 0 };
        int len;
 
        rb_linebuf_newbuf(&linebuf);
@@ -616,7 +612,6 @@ static void too_long_vmsg2(void)
 {
        buf_head_t linebuf;
        char output[2048] = { 0 };
-       char prefix[2048] = { 0 };
        int len;
 
        rb_linebuf_newbuf(&linebuf);