Commit 2e610e1c authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

More Flexelintery

parent d5c05a8b
...@@ -136,7 +136,6 @@ ...@@ -136,7 +136,6 @@
// Review all below this line /////////////////////////////////////////////// // Review all below this line ///////////////////////////////////////////////
-e737 // 143 Loss of sign in promotion from ___ to ___
-e713 // 42 Loss of precision (___) (___ to ___) -e713 // 42 Loss of precision (___) (___ to ___)
-e574 // 48 Signed-unsigned mix with relational -e574 // 48 Signed-unsigned mix with relational
-e840 // Use of nul character in a string literal (see: vcc_if.c) -e840 // Use of nul character in a string literal (see: vcc_if.c)
......
...@@ -6,7 +6,6 @@ ...@@ -6,7 +6,6 @@
-efile(451, "varnishlog_options.h") -efile(451, "varnishlog_options.h")
-e732 // Loss of sign (arg. no. 2) (int to unsigned -e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long) -e713 // Loss of precision (assignment) (unsigned long long to long long)
-e574 // Signed-unsigned mix with relational -e574 // Signed-unsigned mix with relational
......
...@@ -22,6 +22,5 @@ ...@@ -22,6 +22,5 @@
-e534 // Ignoring return value of function -e534 // Ignoring return value of function
-e557 // unrecog format -e557 // unrecog format
-e732 // Loss of sign (arg. no. 2) (int to unsigned -e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned
-e788 // tag not used in defaulted switch -e788 // tag not used in defaulted switch
...@@ -11,7 +11,6 @@ ...@@ -11,7 +11,6 @@
-e763 // Redundant declaration for symbol '...' previously declared -e763 // Redundant declaration for symbol '...' previously declared
-e732 // Loss of sign (arg. no. 2) (int to unsigned -e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long) -e713 // Loss of precision (assignment) (unsigned long long to long long)
-e574 // Signed-unsigned mix with relational -e574 // Signed-unsigned mix with relational
......
...@@ -23,7 +23,6 @@ ...@@ -23,7 +23,6 @@
// //
-e732 // Loss of sign (arg. no. 2) (int to unsigned -e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long) -e713 // Loss of precision (assignment) (unsigned long long to long long)
-e574 // Signed-unsigned mix with relational -e574 // Signed-unsigned mix with relational
-emacro(835, STRTOU32_CHECK) // A zero has been given as ___ argument to operator '___' -emacro(835, STRTOU32_CHECK) // A zero has been given as ___ argument to operator '___'
......
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
-e763 // Redundant declaration for symbol '...' previously declared -e763 // Redundant declaration for symbol '...' previously declared
-e732 // Loss of sign (arg. no. 2) (int to unsigned -e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long) -e713 // Loss of precision (assignment) (unsigned long long to long long)
-e574 // Signed-unsigned mix with relational -e574 // Signed-unsigned mix with relational
......
...@@ -31,6 +31,7 @@ ...@@ -31,6 +31,7 @@
-e716 // while(1) ... -e716 // while(1) ...
-e726 // Extraneous comma ignored -e726 // Extraneous comma ignored
-e728 // Symbol ... not explicitly initialized -e728 // Symbol ... not explicitly initialized
-e737 // Loss of sign in promotion from int to unsigned int
-e763 // Redundant declaration for symbol '...' previously declared -e763 // Redundant declaration for symbol '...' previously declared
-e777 // Testing floats for equality -e777 // Testing floats for equality
-e785 // Too few initializers for aggregate -e785 // Too few initializers for aggregate
......
...@@ -59,7 +59,6 @@ ...@@ -59,7 +59,6 @@
// Review all below this line /////////////////////////////////////////////// // Review all below this line ///////////////////////////////////////////////
-e732 // Loss of sign (arg. no. 2) (int to unsigned -e732 // Loss of sign (arg. no. 2) (int to unsigned
-e737 // [45] Loss of sign in promotion from int to unsigned
-e713 // Loss of precision (assignment) (unsigned long long to long long) -e713 // Loss of precision (assignment) (unsigned long long to long long)
-e574 // Signed-unsigned mix with relational -e574 // Signed-unsigned mix with relational
-e712 // Loss of precision (assignment) (long long to -e712 // Loss of precision (assignment) (long long to
......
...@@ -366,8 +366,9 @@ VSL_PrintTransactions(struct VSL_data *vsl, struct VSL_transaction * const pt[], ...@@ -366,8 +366,9 @@ VSL_PrintTransactions(struct VSL_data *vsl, struct VSL_transaction * const pt[],
if (t->level > 3) if (t->level > 3)
VSL_PRINT(fo, "*%1.1u* ", t->level); VSL_PRINT(fo, "*%1.1u* ", t->level);
else else
VSL_PRINT(fo, "%-3.*s ", t->level, "***"); VSL_PRINT(fo, "%-3.*s ",
VSL_PRINT(fo, "%*.s%-14s %*.s%-10u\n", (int)(t->level), "***");
VSL_PRINT(fo, "%*.s%-14s %*.s%-10d\n",
verbose ? 10 + 1 : 0, " ", verbose ? 10 + 1 : 0, " ",
VSL_transactions[t->type], VSL_transactions[t->type],
verbose ? 1 + 1 : 0, " ", verbose ? 1 + 1 : 0, " ",
...@@ -387,7 +388,8 @@ VSL_PrintTransactions(struct VSL_data *vsl, struct VSL_transaction * const pt[], ...@@ -387,7 +388,8 @@ VSL_PrintTransactions(struct VSL_data *vsl, struct VSL_transaction * const pt[],
if (t->level > 3) if (t->level > 3)
VSL_PRINT(fo, "-%1.1u- ", t->level); VSL_PRINT(fo, "-%1.1u- ", t->level);
else if (t->level) else if (t->level)
VSL_PRINT(fo, "%-3.*s ", t->level, "---"); VSL_PRINT(fo, "%-3.*s ",
(int)(t->level), "---");
if (verbose) if (verbose)
i = VSL_Print(vsl, t->c, fo); i = VSL_Print(vsl, t->c, fo);
else else
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
-e763 // Redundant declaration for symbol '...' previously declared -e763 // Redundant declaration for symbol '...' previously declared
-e737 // Loss of sign in promotion from int to unsigned int
-e534 // Ignoring return value of function -e534 // Ignoring return value of function
-e506 // Constant value boolean -e506 // Constant value boolean
-e774 // Boolean within 'if' always evaluates to False -e774 // Boolean within 'if' always evaluates to False
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment