[pve-devel] r6397 - pve-cluster/trunk/data/src

svn-commits at proxmox.com svn-commits at proxmox.com
Tue Aug 2 14:19:22 CEST 2011


Author: dietmar
Date: 2011-08-02 14:19:22 +0200 (Tue, 02 Aug 2011)
New Revision: 6397

Modified:
   pve-cluster/trunk/data/src/status.c
Log:
fix warning


Modified: pve-cluster/trunk/data/src/status.c
===================================================================
--- pve-cluster/trunk/data/src/status.c	2011-08-02 11:28:44 UTC (rev 6396)
+++ pve-cluster/trunk/data/src/status.c	2011-08-02 12:19:22 UTC (rev 6397)
@@ -1557,7 +1557,7 @@
 static void
 dfsm_synced(dfsm_t *dfsm)
 {
-	g_return_val_if_fail(dfsm != NULL, -1);
+	g_return_if_fail(dfsm != NULL);
 
 	char *ip = (char *)g_hash_table_lookup(cfs_status.iphash, cfs.nodename);
 	if (!ip) 



More information about the pve-devel mailing list