[X2Go-Commits] [libx2goclient] 10/19: src/x2goclient-openssh-bugs.h: fix compile error, enums can't be empty.

git-admin at x2go.org git-admin at x2go.org
Fri May 29 11:34:05 CEST 2020


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository libx2goclient.

commit 4fc7b4547565477461a49f7c9350bb6c602be8e8
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Thu May 28 13:47:55 2020 +0200

    src/x2goclient-openssh-bugs.h: fix compile error, enums can't be empty.
---
 src/x2goclient-openssh-bugs.h | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/src/x2goclient-openssh-bugs.h b/src/x2goclient-openssh-bugs.h
index f08e484..afe8737 100644
--- a/src/x2goclient-openssh-bugs.h
+++ b/src/x2goclient-openssh-bugs.h
@@ -55,8 +55,15 @@ void x2goclient_openssh_bugs_free (X2GoClientOpenSSHBugs *openssh_bugs);
  */
 #define X2GOCLIENT_OPENSSH_BUGS_ERROR g_quark_from_static_string ("x2goclient-openssh-bugs")
 
+/*
+ * Empty enums are ill-formed, so keep this commented out until we put at least
+ * one value in here.
+ */
+#if 0
 enum {
+  X2GOCLIENT_OPENSSH_BUGS_ERROR_... = 0,
 };
+#endif
 
 
 G_END_DECLS

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/libx2goclient.git


More information about the x2go-commits mailing list