| |
@@ -0,0 +1,28 @@
|
| |
+ From 8e202b5cf0889be98f34171ed152a16bd959d693 Mon Sep 17 00:00:00 2001
|
| |
+ From: Tom Stellard <tstellar@redhat.com>
|
| |
+ Date: Wed, 25 Mar 2020 03:04:45 +0000
|
| |
+ Subject: [PATCH] Fix -Wreturn-type warning
|
| |
+
|
| |
+ ruby_frame.at:216:3: error: void function 'check' should not return a value [-Wreturn-type]
|
| |
+
|
| |
+ clang treates these as errors by default, so this was breaking the build with clang.
|
| |
+ ---
|
| |
+ tests/ruby_frame.at | 2 +-
|
| |
+ 1 file changed, 1 insertion(+), 1 deletion(-)
|
| |
+
|
| |
+ diff --git a/tests/ruby_frame.at b/tests/ruby_frame.at
|
| |
+ index 15d367d..f6ca905 100644
|
| |
+ --- a/tests/ruby_frame.at
|
| |
+ +++ b/tests/ruby_frame.at
|
| |
+ @@ -214,7 +214,7 @@ check(char *input)
|
| |
+
|
| |
+ json_object_put(root);
|
| |
+
|
| |
+ - return 0;
|
| |
+ + return;
|
| |
+ }
|
| |
+
|
| |
+ int
|
| |
+ --
|
| |
+ 2.25.1
|
| |
+
|
| |
clang treates these as errors by default, so this was breaking the build with clang.