On 10/14/15 03:13 PM, Jeremy Huddleston Sequoia wrote:
xdmcp.c:1404:1: warning: function 'XdmcpFatal' could be declared with attribute 
'noreturn'
[-Wmissing-noreturn,Semantic Issue]

Signed-off-by: Jeremy Huddleston Sequoia <[email protected]>
---
  os/xdmcp.c | 1 +
  1 file changed, 1 insertion(+)

diff --git a/os/xdmcp.c b/os/xdmcp.c
index 7939b41..5bdcbe9 100644
--- a/os/xdmcp.c
+++ b/os/xdmcp.c
@@ -1399,6 +1399,7 @@ recv_alive_msg(unsigned length)
      }
  }

+_X_NORETURN
  static void
  XdmcpFatal(const char *type, ARRAY8Ptr status)
  {


Reviewed-by: Alan Coopersmith <[email protected]>

--
        -Alan Coopersmith-              [email protected]
         Oracle Solaris Engineering - http://blogs.oracle.com/alanc
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to