[PVFS2-CVS] commit by pw in pvfs2/test/common/id-generator: test.c

CVS commit program cvs at parl.clemson.edu
Thu Jun 16 17:41:37 EDT 2005


Update of /projects/cvsroot/pvfs2/test/common/id-generator
In directory parlweb:/tmp/cvs-serv5874/test/common/id-generator

Modified Files:
	test.c 
Log Message:
get rid of error return values: unused everywhere; this avoids lots of "possibly undefined" warnings


Index: test.c
===================================================================
RCS file: /projects/cvsroot/pvfs2/test/common/id-generator/test.c,v
diff -u -p -u -r1.3 -r1.4
--- test.c	27 Jun 2003 05:26:37 -0000	1.3
+++ test.c	16 Jun 2005 20:41:36 -0000	1.4
@@ -51,8 +51,8 @@ int main(int argc, char **argv)	{
 	my_example.y = 2;
 	my_example.z = 3;
 	
-	ret = id_gen_fast_register(&my_handle, &my_example);
-	if(ret < 0)
+	id_gen_fast_register(&my_handle, &my_example);
+	if(my_handle == 0)
 	{
 		printf("register failed.\n");
 		exit(0);



More information about the PVFS2-CVS mailing list