New commits:
commit d06a73648a0b23b3128879dc2eae6f5692906d23
Author: Timm Baeder <[email protected]>
Date:   Thu Jan 21 12:59:37 2021 -0500

    testing: switch argument order of check_jambuf()
    
    The argument order in combination with how va_start was used on them
    causes clang to print an error:
    
    testing/check/jambuf/jambufcheck.c:85:16: error: passing an object that 
undergoes default argument promotion to 'va_start' has undefined behavior 
[-Werror,-Wvarargs]
                    va_start(ap, ok);
                                 ^
    testing/check/jambuf/jambufcheck.c:26:51: note: parameter of type 'bool' is 
declared here
    static void check_jambuf(const char *expect, bool ok, ...)
    
    Signed-off-by: Paul Wouters <[email protected]>
    Signed-off-by: Andrew Cagney <[email protected]>

_______________________________________________
Swan-commit mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-commit

Reply via email to