]> git.ipfire.org Git - thirdparty/haproxy.git/commitdiff
BUG/MINOR: ARG6 and ARG7 don't fit in a 32 bits word
authorThierry FOURNIER <tfournier@exceliance.fr>
Tue, 17 Feb 2015 15:09:00 +0000 (16:09 +0100)
committerWilly Tarreau <w@1wt.eu>
Fri, 20 Feb 2015 13:34:16 +0000 (14:34 +0100)
The patch "MEDIUM: args: increase arg type to 5 bits and limit arg count
to 5" (dbc79d0a) increased the number of types supported, but forgot to
remove the ARG6/ARG7 macros.

include/proto/arg.h

index bf33dfb28d278ab34ffd80b0cdb872d15a4779ab..e051de54d0f535db15ae704947559831d63cdbae 100644 (file)
 #define ARG5(m, t1, t2, t3, t4, t5) \
        (ARG4(m, t1, t2, t3, t4) + (ARGT_##t5 << (ARGM_BITS + ARGT_BITS * 4)))
 
-#define ARG6(m, t1, t2, t3, t4, t5, t6) \
-       (ARG5(m, t1, t2, t3, t4, t5) + (ARGT_##t6 << (ARGM_BITS + ARGT_BITS * 5)))
-
-#define ARG7(m, t1, t2, t3, t4, t5, t6, t7) \
-       (ARG6(m, t1, t2, t3, t4, t5, t6) + (ARGT_##t7 << (ARGM_BITS + ARGT_BITS * 6)))
-
 /* This dummy arg list may be used by default when no arg is found, it helps
  * parsers by removing pointer checks.
  */