tests: fix warnings
This commit is contained in:
parent
de36941445
commit
b582b00585
4 changed files with 4 additions and 7 deletions
|
@ -3313,6 +3313,7 @@ int main(int argc, char *argv[])
|
||||||
basic_tags4();
|
basic_tags4();
|
||||||
basic_tags5a();
|
basic_tags5a();
|
||||||
basic_tags5b();
|
basic_tags5b();
|
||||||
|
basic_tags13();
|
||||||
basic_tags14();
|
basic_tags14();
|
||||||
basic_tags15();
|
basic_tags15();
|
||||||
basic_tags16();
|
basic_tags16();
|
||||||
|
@ -3374,6 +3375,7 @@ int main(int argc, char *argv[])
|
||||||
long_para4();
|
long_para4();
|
||||||
|
|
||||||
too_long_para1();
|
too_long_para1();
|
||||||
|
too_long_para2();
|
||||||
|
|
||||||
long_everything1();
|
long_everything1();
|
||||||
long_everything2();
|
long_everything2();
|
||||||
|
@ -3397,6 +3399,7 @@ int main(int argc, char *argv[])
|
||||||
origin_no_para_0_spaces();
|
origin_no_para_0_spaces();
|
||||||
origin_no_para_1_space();
|
origin_no_para_1_space();
|
||||||
origin_no_para_2_spaces();
|
origin_no_para_2_spaces();
|
||||||
|
origin_no_para_3_spaces();
|
||||||
|
|
||||||
unescape_test();
|
unescape_test();
|
||||||
unescape_bad_test1();
|
unescape_bad_test1();
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#define MSG "%s:%d (%s)", __FILE__, __LINE__, __FUNCTION__
|
#define MSG "%s:%d (%s)", __FILE__, __LINE__, __FUNCTION__
|
||||||
|
|
||||||
struct Client me;
|
struct Client me;
|
||||||
static char tmp[2048];
|
|
||||||
static const char text[] =
|
static const char text[] =
|
||||||
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba"
|
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba"
|
||||||
"ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba9876543210abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
"ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba9876543210abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||||
|
@ -2879,6 +2878,7 @@ int main(int argc, char *argv[])
|
||||||
exact_space_for_tag2b();
|
exact_space_for_tag2b();
|
||||||
|
|
||||||
escape_test();
|
escape_test();
|
||||||
|
escape_test_8bit();
|
||||||
|
|
||||||
long_para1a();
|
long_para1a();
|
||||||
too_long_para1a();
|
too_long_para1a();
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#define MSG "%s:%d (%s)", __FILE__, __LINE__, __FUNCTION__
|
#define MSG "%s:%d (%s)", __FILE__, __LINE__, __FUNCTION__
|
||||||
|
|
||||||
struct Client me;
|
struct Client me;
|
||||||
static char tmp[2048];
|
|
||||||
static const char text[] =
|
static const char text[] =
|
||||||
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba"
|
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba"
|
||||||
"ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba9876543210abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
"ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba9876543210abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||||
|
@ -486,7 +485,6 @@ static void long_msgf2(void)
|
||||||
{
|
{
|
||||||
buf_head_t linebuf;
|
buf_head_t linebuf;
|
||||||
char output[2048] = { 0 };
|
char output[2048] = { 0 };
|
||||||
char prefix[2048] = { 0 };
|
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
rb_linebuf_newbuf(&linebuf);
|
rb_linebuf_newbuf(&linebuf);
|
||||||
|
@ -509,7 +507,6 @@ static void too_long_msgf2(void)
|
||||||
{
|
{
|
||||||
buf_head_t linebuf;
|
buf_head_t linebuf;
|
||||||
char output[2048] = { 0 };
|
char output[2048] = { 0 };
|
||||||
char prefix[2048] = { 0 };
|
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
rb_linebuf_newbuf(&linebuf);
|
rb_linebuf_newbuf(&linebuf);
|
||||||
|
@ -593,7 +590,6 @@ static void long_vmsg2(void)
|
||||||
{
|
{
|
||||||
buf_head_t linebuf;
|
buf_head_t linebuf;
|
||||||
char output[2048] = { 0 };
|
char output[2048] = { 0 };
|
||||||
char prefix[2048] = { 0 };
|
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
rb_linebuf_newbuf(&linebuf);
|
rb_linebuf_newbuf(&linebuf);
|
||||||
|
@ -616,7 +612,6 @@ static void too_long_vmsg2(void)
|
||||||
{
|
{
|
||||||
buf_head_t linebuf;
|
buf_head_t linebuf;
|
||||||
char output[2048] = { 0 };
|
char output[2048] = { 0 };
|
||||||
char prefix[2048] = { 0 };
|
|
||||||
int len;
|
int len;
|
||||||
|
|
||||||
rb_linebuf_newbuf(&linebuf);
|
rb_linebuf_newbuf(&linebuf);
|
||||||
|
|
|
@ -31,7 +31,6 @@
|
||||||
#define MSG "%s:%d (%s)", __FILE__, __LINE__, __FUNCTION__
|
#define MSG "%s:%d (%s)", __FILE__, __LINE__, __FUNCTION__
|
||||||
|
|
||||||
struct Client me;
|
struct Client me;
|
||||||
static char tmp[2048];
|
|
||||||
static const char text[] =
|
static const char text[] =
|
||||||
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba"
|
"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba"
|
||||||
"ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba9876543210abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
"ZYXWVUTSRQPONMLKJIHGFEDCBAzyxwvutsrqponmlkjihgfedcba9876543210abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"
|
||||||
|
|
Loading…
Reference in a new issue