[Swan-commit] Changes to ref refs/heads/main

Paul Wouters paul at vault.libreswan.fi
Thu Jan 21 18:00:22 UTC 2021


New commits:
commit d06a73648a0b23b3128879dc2eae6f5692906d23
Author: Timm Baeder <tbaeder at redhat.com>
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 <pwouters at redhat.com>
    Signed-off-by: Andrew Cagney <cagney at gnu.org>



More information about the Swan-commit mailing list