[Spice-commits] server/tests

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Fri Jun 19 13:07:37 UTC 2020


 server/tests/test-display-base.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 0f2c28a63b03e46c0cb15943c2663a6bad6c2989
Author: Frediano Ziglio <freddy77 at gmail.com>
Date:   Thu Jun 18 12:54:08 2020 +0100

    test-display-base: Reuse SPICE_GNUC_NORETURN macro
    
    Signed-off-by: Frediano Ziglio <freddy77 at gmail.com>

diff --git a/server/tests/test-display-base.cpp b/server/tests/test-display-base.cpp
index c30d41fb..e53d4843 100644
--- a/server/tests/test-display-base.cpp
+++ b/server/tests/test-display-base.cpp
@@ -963,7 +963,7 @@ static void init_automated(void)
 {
 }
 
-static __attribute__((noreturn))
+static SPICE_GNUC_NORETURN
 void usage(const char *argv0, const int exitcode)
 {
     const char *autoopt=" [--automated-tests]";


More information about the Spice-commits mailing list