<div dir="ltr">On 27 December 2016 at 20:45, Rhys Kidd <span dir="ltr"><<a href="mailto:rhyskidd@gmail.com" target="_blank">rhyskidd@gmail.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Amongst examples:<br>
<br>
XDisplayString/Test1.c:151:3: error: non-void function 'tet_main' should return<br>
a value [-Wreturn-type]<br>
return;<br>
^<br>
<br>
Signed-off-by: Rhys Kidd <<a href="mailto:rhyskidd@gmail.com">rhyskidd@gmail.com</a>><br></blockquote><div><br></div><div>Gentle ping.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
---<br>
xts5/Xlib12/XDisplayName/<wbr>Test1.c | 3 ++-<br>
xts5/Xlib15/XSetWMProperties/<wbr>Test1.c | 6 ++++--<br>
xts5/Xlib15/XSetWMProperties/<wbr>Test2.c | 6 ++++--<br>
xts5/Xlib17/XGetDefault/Test3.<wbr>c | 3 ++-<br>
xts5/Xlib17/XGetDefault/Test4.<wbr>c | 3 ++-<br>
xts5/Xlib17/XGetDefault/Test5.<wbr>c | 6 ++++--<br>
xts5/Xlib3/XDisplayString/<wbr>Test1.c | 8 +++++---<br>
xts5/Xlib3/XOpenDisplay/Test1.<wbr>c | 6 ++++--<br>
8 files changed, 27 insertions(+), 14 deletions(-)<br>
<br>
diff --git a/xts5/Xlib12/XDisplayName/<wbr>Test1.c b/xts5/Xlib12/XDisplayName/<wbr>Test1.c<br>
index a1bb851..e54d926 100644<br>
--- a/xts5/Xlib12/XDisplayName/<wbr>Test1.c<br>
+++ b/xts5/Xlib12/XDisplayName/<wbr>Test1.c<br>
@@ -156,7 +156,8 @@ char *str;<br>
<br>
if((dispstr = getenv("DISPLAY")) == NULL) {<br>
delete("Environment variable DISPLAY is not set.");<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
diff --git a/xts5/Xlib15/<wbr>XSetWMProperties/Test1.c b/xts5/Xlib15/<wbr>XSetWMProperties/Test1.c<br>
index 7c2cf28..6825f2c 100644<br>
--- a/xts5/Xlib15/<wbr>XSetWMProperties/Test1.c<br>
+++ b/xts5/Xlib15/<wbr>XSetWMProperties/Test1.c<br>
@@ -156,7 +156,8 @@ XClassHint rclass_hints;<br>
<br>
if( (res_name = getenv("RESOURCE_NAME")) == NULL) {<br>
delete("RESOURCE_NAME environment variable is not set.");<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
@@ -172,7 +173,8 @@ XClassHint rclass_hints;<br>
<br>
if( XGetClassHint(Dsp, win, &rclass_hints) == 0 ) {<br>
delete("XGetClassHints returned zero.");<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
diff --git a/xts5/Xlib15/<wbr>XSetWMProperties/Test2.c b/xts5/Xlib15/<wbr>XSetWMProperties/Test2.c<br>
index d52cef3..f94f239 100644<br>
--- a/xts5/Xlib15/<wbr>XSetWMProperties/Test2.c<br>
+++ b/xts5/Xlib15/<wbr>XSetWMProperties/Test2.c<br>
@@ -156,7 +156,8 @@ XClassHint rclass_hints;<br>
<br>
if( getenv("RESOURCE_NAME") != (char *)NULL) {<br>
delete("RESOURCE_NAME environment variable was set to \"%s\" instead of being undefined.");<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
@@ -172,7 +173,8 @@ XClassHint rclass_hints;<br>
<br>
if( XGetClassHint(Dsp, win, &rclass_hints) == 0 ) {<br>
delete("XGetClassHints returned zero.");<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
diff --git a/xts5/Xlib17/XGetDefault/<wbr>Test3.c b/xts5/Xlib17/XGetDefault/<wbr>Test3.c<br>
index 05ba128..14542b6 100644<br>
--- a/xts5/Xlib17/XGetDefault/<wbr>Test3.c<br>
+++ b/xts5/Xlib17/XGetDefault/<wbr>Test3.c<br>
@@ -151,7 +151,8 @@ char *pval="XTest.testval31:pval_a\<wbr>nXTest.testval32:pval_b\<wbr>nXTest.testval33:pva<br>
<br>
if(getenv("HOME") == NULL) {<br>
delete("Environment variable \"HOME\" is not set.");<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
diff --git a/xts5/Xlib17/XGetDefault/<wbr>Test4.c b/xts5/Xlib17/XGetDefault/<wbr>Test4.c<br>
index 958fa91..5c53dd7 100644<br>
--- a/xts5/Xlib17/XGetDefault/<wbr>Test4.c<br>
+++ b/xts5/Xlib17/XGetDefault/<wbr>Test4.c<br>
@@ -154,7 +154,8 @@ static char *result[] = { "pVAL_1", "eVAL_5", "eVAL_6" };<br>
<br>
if(getenv("XENVIRONMENT") == NULL) {<br>
delete("XENVIRONMENT environment variable not set.");<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
diff --git a/xts5/Xlib17/XGetDefault/<wbr>Test5.c b/xts5/Xlib17/XGetDefault/<wbr>Test5.c<br>
index 628ba7d..5e506ae 100644<br>
--- a/xts5/Xlib17/XGetDefault/<wbr>Test5.c<br>
+++ b/xts5/Xlib17/XGetDefault/<wbr>Test5.c<br>
@@ -157,13 +157,15 @@ static char *result[] = { "pVAL_1", "hVAL_5", "hVAL_6" , "hVAL_7"};<br>
<br>
if(getenv("XENVIRONMENT") != NULL) {<br>
delete("XENVIRONMENT environment variable was set.");<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
if(getenv("HOME") == NULL) {<br>
delete("HOME environment variable was not set.");<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
diff --git a/xts5/Xlib3/XDisplayString/<wbr>Test1.c b/xts5/Xlib3/XDisplayString/<wbr>Test1.c<br>
index 119d790..d6bce99 100644<br>
--- a/xts5/Xlib3/XDisplayString/<wbr>Test1.c<br>
+++ b/xts5/Xlib3/XDisplayString/<wbr>Test1.c<br>
@@ -148,13 +148,15 @@ Display *display;<br>
<br>
if((dispstr = getenv("DISPLAY")) == NULL) {<br>
delete("Environment variable DISPLAY is not set.");<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
if((display = XOpenDisplay("")) == (Display *) NULL) {<br>
- delete("XOpenDisplay() returned NULL.");<br>
- return;<br>
+ delete("XOpenDisplay() returned NULL.");<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
diff --git a/xts5/Xlib3/XOpenDisplay/<wbr>Test1.c b/xts5/Xlib3/XOpenDisplay/<wbr>Test1.c<br>
index e083865..3453b93 100644<br>
--- a/xts5/Xlib3/XOpenDisplay/<wbr>Test1.c<br>
+++ b/xts5/Xlib3/XOpenDisplay/<wbr>Test1.c<br>
@@ -149,7 +149,8 @@ Display *display;<br>
<br>
if((dispstr = getenv("DISPLAY")) == NULL) {<br>
delete("Environment variable DISPLAY is not set.");<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else<br>
CHECK;<br>
<br>
@@ -163,7 +164,8 @@ Display *display;<br>
<br>
if(rdispstr == (char *) NULL) {<br>
delete("%s() returned NULL.", TestName);<br>
- return;<br>
+ UNRESOLVED;<br>
+ return(False);<br>
} else {<br>
CHECK;<br>
if(strcmp(rdispstr, dispstr) != 0) {<br>
<span class="HOEnZb"><font color="#888888">--<br>
2.9.3<br>
<br>
</font></span></blockquote></div><br></div></div>