[libvirt] [libvirt-sandbox][PATCH 4/4] libvirt-sandbox-config.c: Fix comment

Michal Privoznik mprivozn at redhat.com
Tue Nov 4 14:40:51 UTC 2014


Inline comments in the code should have only one star, two stars are
reserved for function documentation from which gtk doc is generated.
This commit resolves this warning:

  GISCAN   LibvirtSandbox-1.0.gir
libvirt-sandbox-config.c:2142: Error: LibvirtSandbox: Skipping invalid GTK-Doc comment block:
/** XXX hack */
^

Signed-off-by: Michal Privoznik <mprivozn at redhat.com>
---
 libvirt-sandbox/libvirt-sandbox-config.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libvirt-sandbox/libvirt-sandbox-config.c b/libvirt-sandbox/libvirt-sandbox-config.c
index f996ea5..087b5ce 100644
--- a/libvirt-sandbox/libvirt-sandbox-config.c
+++ b/libvirt-sandbox/libvirt-sandbox-config.c
@@ -2139,7 +2139,7 @@ gvir_sandbox_config_load_from_keyfile(GKeyFile *file,
     gchar *str = NULL;
     GType type;
 
-    /** XXX hack */
+    /* XXX hack */
     GVIR_SANDBOX_TYPE_CONFIG_INTERACTIVE;
     GVIR_SANDBOX_TYPE_CONFIG_SERVICE;
     GVIR_SANDBOX_TYPE_CONFIG_SERVICE_SYSTEMD;
-- 
2.0.4




More information about the libvir-list mailing list