[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

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



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 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]