? depcomp
? gtk-doc.make
? orbit2-zip
? warnings
? warnings-icc
? warnings-sparse
Index: configure.in
===================================================================
RCS file: /cvs/gnome/ORBit2/configure.in,v
retrieving revision 1.168
diff -u -p -r1.168 configure.in
--- configure.in	5 Apr 2006 07:16:08 -0000	1.168
+++ configure.in	2 May 2006 14:57:49 -0000
@@ -406,7 +406,4 @@ echo "ORBit configuration:
 	Compiler:		${CC} 
 
 	Purify cleanliness:	${enable_purify}
-
-	This is the Development branch of ORBit2, if
-you want something more stable checkout -r gnome-2-10.
 "
Index: linc2/include/linc/linc-protocol.h
===================================================================
RCS file: /cvs/gnome/ORBit2/linc2/include/linc/linc-protocol.h,v
retrieving revision 1.22
diff -u -p -r1.22 linc-protocol.h
--- linc2/include/linc/linc-protocol.h	26 Jul 2005 12:03:54 -0000	1.22
+++ linc2/include/linc/linc-protocol.h	2 May 2006 14:57:49 -0000
@@ -78,9 +78,9 @@ typedef enum {
 } LinkNetIdType;
 
 
-LinkProtocolInfo * const link_protocol_find     (const char *name);
-LinkProtocolInfo * const link_protocol_find_num (const int   family);
-LinkProtocolInfo * const link_protocol_all      (void);
+LinkProtocolInfo * link_protocol_find     (const char *name);
+LinkProtocolInfo * link_protocol_find_num (const int   family);
+LinkProtocolInfo * link_protocol_all      (void);
 char                    *link_get_tmpdir        (void);
 void                     link_set_tmpdir        (const char *dir);
 void                     link_use_local_hostname (LinkNetIdType use);
Index: linc2/src/cleanup.c
===================================================================
RCS file: /cvs/gnome/ORBit2/linc2/src/cleanup.c,v
retrieving revision 1.4
diff -u -p -r1.4 cleanup.c
--- linc2/src/cleanup.c	8 Jul 2005 22:59:58 -0000	1.4
+++ linc2/src/cleanup.c	2 May 2006 14:57:49 -0000
@@ -155,14 +155,11 @@ clean_dir (const char *dir)
 {
 	int open_max;
 	int pending = 0;
-	int dirty_files = 0;
 	GList *files, *l, *next;
 
 	open_max = sysconf (_SC_OPEN_MAX);
 
 	files = read_sockets (dir);
-
-	dirty_files = g_list_length (files);
 
 	for (l = files; l; l = next) {
 		SocketEntry *se = l->data;
Index: linc2/src/linc-protocols.c
===================================================================
RCS file: /cvs/gnome/ORBit2/linc2/src/linc-protocols.c,v
retrieving revision 1.77
diff -u -p -r1.77 linc-protocols.c
--- linc2/src/linc-protocols.c	2 Feb 2006 23:13:52 -0000	1.77
+++ linc2/src/linc-protocols.c	2 May 2006 14:57:50 -0000
@@ -1138,7 +1138,7 @@ link_protocol_destroy_addr (const LinkPr
  *
  * Return Value: an array of #LinkProtocolInfo structures.
  */
-LinkProtocolInfo * const
+LinkProtocolInfo *
 link_protocol_all (void)
 {
 	return static_link_protocols;
@@ -1153,7 +1153,7 @@ link_protocol_all (void)
  * Return Value: a pointer to a valid #LinkProtocolInfo structure if 
  *               the protocol is supported by linc, NULL otherwise.
  */
-LinkProtocolInfo * const
+LinkProtocolInfo *
 link_protocol_find (const char *name)
 {
 	int i;
@@ -1175,7 +1175,7 @@ link_protocol_find (const char *name)
  * Return Value: a pointer to a valid #LinkProtocolInfo structure if
  *               the protocol is supported by linc, NULL otherwise.
  */
-LinkProtocolInfo * const
+LinkProtocolInfo * 
 link_protocol_find_num (const int family)
 {
 	int i;
Index: linc2/src/linc-server.c
===================================================================
RCS file: /cvs/gnome/ORBit2/linc2/src/linc-server.c,v
retrieving revision 1.69
diff -u -p -r1.69 linc-server.c
--- linc2/src/linc-server.c	8 Nov 2005 08:56:29 -0000	1.69
+++ linc2/src/linc-server.c	2 May 2006 14:57:50 -0000
@@ -301,7 +301,7 @@ link_server_setup (LinkServer           
 	const char             *local_host;
 	char                   *service, *hostname;
 
-#if !LINK_SSL_SUPPORT
+#ifndef LINK_SSL_SUPPORT
 	if (create_options & LINK_CONNECTION_SSL)
 		return FALSE;
 #endif
Index: src/idl-compiler/orbit-idl-c-common.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/idl-compiler/orbit-idl-c-common.c,v
retrieving revision 1.58
diff -u -p -r1.58 orbit-idl-c-common.c
--- src/idl-compiler/orbit-idl-c-common.c	13 Aug 2004 10:37:27 -0000	1.58
+++ src/idl-compiler/orbit-idl-c-common.c	2 May 2006 14:57:50 -0000
@@ -526,7 +526,6 @@ cc_output_skel (IDL_tree     tree,
 		int         *idx)
 {
 	IDL_tree  intf;
-	gboolean  has_args;
 	gboolean  has_retval;
 	char     *opname;
 	char     *ifname;
@@ -535,7 +534,6 @@ cc_output_skel (IDL_tree     tree,
 
 	intf = IDL_get_parent_node (tree, IDLN_INTERFACE, NULL);
 
-	has_args   = IDL_OP_DCL (tree).parameter_dcls != NULL;
 	has_retval = IDL_OP_DCL (tree).op_type_spec != NULL;
 
 	opname = IDL_ns_ident_to_qstring (IDL_IDENT_TO_NS (IDL_OP_DCL (tree).ident), "_", 0);
Index: src/idl-compiler/orbit-idl-c-imodule.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/idl-compiler/orbit-idl-c-imodule.c,v
retrieving revision 1.10
diff -u -p -r1.10 orbit-idl-c-imodule.c
--- src/idl-compiler/orbit-idl-c-imodule.c	16 Oct 2002 14:37:43 -0000	1.10
+++ src/idl-compiler/orbit-idl-c-imodule.c	2 May 2006 14:57:50 -0000
@@ -228,7 +228,7 @@ orbit_idl_output_c_imodule (IDL_tree    
 	fprintf (ci->fh, "ORBit_IModule orbit_imodule_data = {\n");
 	fprintf (ci->fh, "   %d,\n", ORBIT_CONFIG_SERIAL);
 	fprintf (ci->fh, "   %s__iinterfaces,\n", ci->c_base_name);
-	fprintf (ci->fh, " { %d, %d, %s__itypes, FALSE }\n",
+	fprintf (ci->fh, " { %u, %u, %s__itypes, FALSE }\n",
 		 count, count, ci->c_base_name);
 	fprintf (ci->fh, "};\n\n");
 }
Index: src/idl-compiler/orbit-idl-utils.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/idl-compiler/orbit-idl-utils.c,v
retrieving revision 1.33
diff -u -p -r1.33 orbit-idl-utils.c
--- src/idl-compiler/orbit-idl-utils.c	13 May 2003 14:56:37 -0000	1.33
+++ src/idl-compiler/orbit-idl-utils.c	2 May 2006 14:57:50 -0000
@@ -86,17 +86,6 @@ static void do_indent(int level) {
   for(i = 0; i < level; i++) g_print(" ");
 }
 
-static const char * const nodenames[] = {
-  "DATUM",
-  "LOOP",
-  "SWITCH",
-  "CASE",
-  "COMPLEX",
-  "CONST",
-  "SET",
-  NULL
-};
-
 void
 orbit_idl_print_node(IDL_tree node, int indent_level)
 {
@@ -425,7 +414,7 @@ IDL_tree_traverse_parents (IDL_tree p,
 }
 
 /* For use by below function */
-static const int * const
+static const int *
 orbit_cbe_get_typeoffsets_table (void)
 {
   static int typeoffsets[IDLN_LAST];
Index: src/orb/dynamic/dynany.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/dynamic/dynany.c,v
retrieving revision 1.25
diff -u -p -r1.25 dynany.c
--- src/orb/dynamic/dynany.c	11 Feb 2005 15:16:20 -0000	1.25
+++ src/orb/dynamic/dynany.c	2 May 2006 14:57:50 -0000
@@ -224,7 +224,7 @@ dynany_get_cur_type (DynAny *dynany)
 		goto find_type;
 		
 	default:
-		g_warning ("Unknown kind '%d'", tc->kind);
+		g_warning ("Unknown kind '%u'", tc->kind);
 		break;
 	}
 
@@ -495,7 +495,7 @@ dynany_get_value (DynAny *dynany, CORBA_
 			if (!s || dynany->idx >= s->_length) {
 				value = NULL;
 				g_warning ("Serious internal sequence related "
-					   "error %p %d >= %d", s,
+					   "error %p %u >= %d", s,
 					   s ? s->_length: -1, dynany->idx);
 			} else
 				value = DYNANY_GET_OFFSET (s->_buffer, dynany->idx,
@@ -530,7 +530,7 @@ dynany_get_value (DynAny *dynany, CORBA_
 			value = NULL;
 
 		default:
-			g_warning ("Unknown kind '%d'", any->_type->kind);
+			g_warning ("Unknown kind '%u'", any->_type->kind);
 			value = NULL;
 			break;
 		}
@@ -1041,7 +1041,7 @@ DynamicAny_DynAny_seek (DynamicAny_DynAn
 		goto validate_seek;
 
 	default:
-		g_error ("Unknown kind '%d'", tc->kind);
+		g_error ("Unknown kind '%u'", tc->kind);
 	}
 
 	dynany->idx = -1;
@@ -1100,7 +1100,7 @@ DynamicAny_DynAny_component_count (Dynam
 		goto count_type;
 
 	default:
-		g_error ("Unknown kind '%d'", tc->kind);
+		g_error ("Unknown kind '%u'", tc->kind);
 		break;
 	}
 
@@ -1157,7 +1157,7 @@ DynamicAny_DynAny_current_component (Dyn
 			dynany_get_value (dynany, ev), dynany, ev);
 
 	default:
-		g_error ("Unknown kind '%d'", any->_type->kind);
+		g_error ("Unknown kind '%u'", any->_type->kind);
 	}
 
 	return CORBA_OBJECT_NIL;
Index: src/orb/orb-core/allocators.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/orb-core/allocators.c,v
retrieving revision 1.31
diff -u -p -r1.31 allocators.c
--- src/orb/orb-core/allocators.c	26 Sep 2005 14:23:00 -0000	1.31
+++ src/orb/orb-core/allocators.c	2 May 2006 14:57:50 -0000
@@ -355,7 +355,7 @@ ORBit_alloc_get_tcval (gpointer mem)
 
 		return ORBit_RootObject_duplicate (prefix->u.tc);
 	} else
-		g_error ("Can't determine type of %p (%d)", mem, how);
+		g_error ("Can't determine type of %p (%u)", mem, how);
 
 	return NULL;
 }
Index: src/orb/orb-core/corba-context.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/orb-core/corba-context.c,v
retrieving revision 1.20
diff -u -p -r1.20 corba-context.c
--- src/orb/orb-core/corba-context.c	7 Jul 2003 13:11:31 -0000	1.20
+++ src/orb/orb-core/corba-context.c	2 May 2006 14:57:50 -0000
@@ -229,9 +229,6 @@ CORBA_Context_get_values (CORBA_Context 
 			  CORBA_NVList      *values,
 			  CORBA_Environment *ev)
 {
-	char *ctmp;
-	int wc_pos;
-
 	if (start_scope && *start_scope) {
 		while (ctx && (!ctx->the_name ||
 			       strcmp (ctx->the_name, start_scope)))
@@ -243,12 +240,6 @@ CORBA_Context_get_values (CORBA_Context 
 			return;
 		}
 	}
-
-	ctmp = strchr (prop_name, '*');
-	if (ctmp)
-		wc_pos = ctmp - prop_name;
-	else
-		wc_pos = -1;
 
 	CORBA_ORB_create_list (CORBA_OBJECT_NIL, 0, values, ev);
 
Index: src/orb/orb-core/corba-loc.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/orb-core/corba-loc.c,v
retrieving revision 1.7
diff -u -p -r1.7 corba-loc.c
--- src/orb/orb-core/corba-loc.c	1 May 2004 23:42:25 -0000	1.7
+++ src/orb/orb-core/corba-loc.c	2 May 2006 14:57:50 -0000
@@ -109,12 +109,8 @@ corbaloc_profile_uiop_parse (gchar      
 			     gchar          **socket_path,
 			     gushort         *ipv6_port )
 {
-	long len = 0; 
-
 	g_assert (profile && strlen (profile) > 0 );
 	
-	len = strlen (profile);
-
 	/*  [uiop]: ['//'] socket-path ':' [ port ] */ 
 
 	if (strncmp (profile, "uiop:", strlen ("uiop:"))) 
Index: src/orb/orb-core/iop-profiles.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/orb-core/iop-profiles.c,v
retrieving revision 1.48
diff -u -p -r1.48 iop-profiles.c
--- src/orb/orb-core/iop-profiles.c	10 Aug 2004 14:15:56 -0000	1.48
+++ src/orb/orb-core/iop-profiles.c	2 May 2006 14:57:50 -0000
@@ -484,10 +484,9 @@ IOP_start_profiles (CORBA_ORB orb)
 
 	for (l = orb->servers ; l != NULL ; l = l->next) {
 		LinkServer *serv = l->data;
-		gboolean   ipv4, ipv6, uds, ssl;
+		gboolean   ipv4, uds, ssl;
 
 		ipv4 = !strcmp (serv->proto->name, "IPv4");
-		ipv6 = !strcmp (serv->proto->name, "IPv6");
 		uds  = !strcmp (serv->proto->name, "UNIX");
 
 		ssl  = (serv->create_options & LINK_CONNECTION_SSL);
Index: src/orb/poa/orbit-adaptor.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/poa/orbit-adaptor.c,v
retrieving revision 1.28
diff -u -p -r1.28 orbit-adaptor.c
--- src/orb/poa/orbit-adaptor.c	17 Jan 2006 12:58:45 -0000	1.28
+++ src/orb/poa/orbit-adaptor.c	2 May 2006 14:57:50 -0000
@@ -68,10 +68,10 @@ ORBit_ObjectAdaptor_get_thread_hint (ORB
 
 /*
  * Tie a object adaptor object to the current thread. This means that
- * incomming requests to the servant will be handled by this thread only.
+ * incoming requests to the servant will be handled by this thread only.
  * The object must be created by a POA with the ORBIT_THREAD_HINT_PER_OBJECT
  * hint set, and if the thread exits the behaviour will fallback to the
- * default for HINT_PER_OBJECT, i.e. a new thread will be spawned to handle the
+ * default for HINT_PER_OBJECT, i.e. a new thread will be spawned to handle
  * all calls for the object. You need to call this function before any
  * requests for the object arrive, since otherwise a thread for the
  * object will be created.
Index: src/orb/poa/poa.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/poa/poa.c,v
retrieving revision 1.118
diff -u -p -r1.118 poa.c
--- src/orb/poa/poa.c	8 Nov 2005 09:02:44 -0000	1.118
+++ src/orb/poa/poa.c	2 May 2006 14:57:51 -0000
@@ -858,7 +858,6 @@ ORBit_POA_obj_to_ref (PortableServer_POA
 		      const CORBA_char   *intf,
 		      CORBA_Environment  *ev)
 {
-	PortableServer_ObjectId *oid;
 	const char              *type_id = intf;
 
 	g_assert (pobj && !pobj->base.objref);
@@ -869,8 +868,6 @@ ORBit_POA_obj_to_ref (PortableServer_POA
 	}
 
 	g_assert (type_id != NULL);
-
-	oid = pobj->object_id;
 
 	pobj->base.objref = ORBit_objref_new (poa->poa_manager->orb,
 					      &pobj->base,
Index: src/orb/util/genrand.c
===================================================================
RCS file: /cvs/gnome/ORBit2/src/orb/util/genrand.c,v
retrieving revision 1.23
diff -u -p -r1.23 genrand.c
--- src/orb/util/genrand.c	13 Apr 2005 14:12:09 -0000	1.23
+++ src/orb/util/genrand.c	2 May 2006 14:57:51 -0000
@@ -78,7 +78,7 @@ ORBit_genuid_init (ORBitGenUidType type)
 		else
 			hit_strength = FALSE;
 #endif
-#if LINK_SSL_SUPPORT
+#ifdef LINK_SSL_SUPPORT
 		hit_strength = TRUE; /* foolishly trust OpenSSL */
 #endif
 		break;
@@ -145,7 +145,7 @@ genuid_rand_device (guchar *buffer, int 
 
 #endif
 
-#if LINK_SSL_SUPPORT
+#ifdef LINK_SSL_SUPPORT
 #include <openssl/rand.h>
 
 static gboolean
Index: test/echo-client.c
===================================================================
RCS file: /cvs/gnome/ORBit2/test/echo-client.c,v
retrieving revision 1.7
diff -u -p -r1.7 echo-client.c
--- test/echo-client.c	16 Apr 2005 08:27:55 -0000	1.7
+++ test/echo-client.c	2 May 2006 14:57:51 -0000
@@ -32,7 +32,7 @@ if ((_ev)->_major != CORBA_NO_EXCEPTION)
 
 static Echo echo_client, bec;
 
-gboolean echo_opt_quiet = FALSE;
+static gboolean echo_opt_quiet = FALSE;
 
 int
 main (int argc, char *argv[]) {
Index: test/echo-srv.c
===================================================================
RCS file: /cvs/gnome/ORBit2/test/echo-srv.c,v
retrieving revision 1.5
diff -u -p -r1.5 echo-srv.c
--- test/echo-srv.c	16 Apr 2005 08:27:55 -0000	1.5
+++ test/echo-srv.c	2 May 2006 14:57:51 -0000
@@ -74,7 +74,7 @@ echo_srv_start_poa (CORBA_ORB orb, CORBA
 
 	the_orb = orb;
 	the_poa = (PortableServer_POA)
-		CORBA_ORB_resolve_initial_references(orb,
+		CORBA_ORB_resolve_initial_references(the_orb,
 						     "RootPOA", ev);
 
 	mgr = PortableServer_POA__get_the_POAManager(the_poa, ev);
@@ -87,19 +87,19 @@ echo_srv_start_object(CORBA_Environment 
 {
 	POA_Echo__init(&poa_echo_servant, ev);
 	if ( ev->_major ) {
-		printf("object__init failed: %d\n", ev->_major);
+		printf("object__init failed: %u\n", ev->_major);
 		exit(1);
 	}
 	the_objid = PortableServer_POA_activate_object(the_poa,
 						       &poa_echo_servant, ev);
 	if ( ev->_major ) {
-		printf("activate_object failed: %d\n", ev->_major);
+		printf("activate_object failed: %u\n", ev->_major);
 		exit(1);
 	}
 	the_echo_client = PortableServer_POA_servant_to_reference(the_poa,
 								  &poa_echo_servant, ev);
 	if ( ev->_major ) {
-		printf("servant_to_reference failed: %d\n", ev->_major);
+		printf("servant_to_reference failed: %u\n", ev->_major);
 		exit(1);
 	}
 	return the_echo_client;
@@ -110,20 +110,20 @@ echo_srv_finish_object(CORBA_Environment
 {
 	CORBA_Object_release(the_echo_client, ev);
 	if ( ev->_major ) {
-		printf("object_release failed: %d\n", ev->_major);
+		printf("object_release failed: %u\n", ev->_major);
 		exit(1);
 	}
 	the_echo_client = NULL;
 	PortableServer_POA_deactivate_object(the_poa, the_objid, ev);
 	if ( ev->_major ) {
-		printf("deactivate_object failed: %d\n", ev->_major);
+		printf("deactivate_object failed: %u\n", ev->_major);
 		exit(1);
 	}
 	CORBA_free(the_objid);
 	the_objid = NULL;
 	POA_Echo__fini(&poa_echo_servant, ev);
 	if ( ev->_major ) {
-		printf("object__fini failed: %d\n", ev->_major);
+		printf("object__fini failed: %u\n", ev->_major);
 		exit(1);
 	}
 }
@@ -134,7 +134,7 @@ echo_srv_finish_poa(CORBA_Environment *e
 {
 	CORBA_Object_release((CORBA_Object)the_poa, ev);
 	if ( ev->_major ) {
-		printf("POA release failed: %d\n", ev->_major);
+		printf("POA release failed: %u\n", ev->_major);
 		exit(1);
 	}
 	the_poa = NULL;
Index: test/ior-decode.c
===================================================================
RCS file: /cvs/gnome/ORBit2/test/ior-decode.c,v
retrieving revision 1.10
diff -u -p -r1.10 ior-decode.c
--- test/ior-decode.c	26 Jun 2002 12:41:12 -0000	1.10
+++ test/ior-decode.c	2 May 2006 14:57:51 -0000
@@ -15,7 +15,7 @@ print_objkey (ORBit_ObjectKey *objkey)
 	for (i = 0; i < objkey->_length; i++)
 		g_string_append_printf (str, "%02x", objkey->_buffer [i]);
 
-	printf ("(%d) '%s'", objkey->_length, str->str);
+	printf ("(%u) '%s'", objkey->_length, str->str);
 
 	g_string_free (str, TRUE);
 }
@@ -38,7 +38,7 @@ print_components (CORBA_Object obj, GSLi
 
 		case IOP_TAG_SSL_SEC_TRANS: {
 			IOP_TAG_SSL_SEC_TRANS_info *sst = l->data;
-			printf ("    IOP_TAG_SSL_SEC_TRANS: %d:%d port %d\n",
+			printf ("    IOP_TAG_SSL_SEC_TRANS: %u:%u port %d\n",
 				sst->target_supports, sst->target_requires,
 				sst->port);
 			break;
Index: test/test-any-client.c
===================================================================
RCS file: /cvs/gnome/ORBit2/test/test-any-client.c,v
retrieving revision 1.4
diff -u -p -r1.4 test-any-client.c
--- test/test-any-client.c	31 Mar 2003 21:08:25 -0000	1.4
+++ test/test-any-client.c	2 May 2006 14:57:51 -0000
@@ -49,7 +49,7 @@ main (int argc, char *argv[])
 	}
 	else
 	{
-		printf("we got exception %d from TestAny_print!\n", ev._major);
+		printf("we got exception %u from TestAny_print!\n", ev._major);
 		return 1;
 	}
   
Index: test/typelib-dump.c
===================================================================
RCS file: /cvs/gnome/ORBit2/test/typelib-dump.c,v
retrieving revision 1.3
diff -u -p -r1.3 typelib-dump.c
--- test/typelib-dump.c	28 Jan 2005 15:46:51 -0000	1.3
+++ test/typelib-dump.c	2 May 2006 14:57:51 -0000
@@ -28,7 +28,7 @@ dump_iface (ORBit_IInterface *iface)
 {
 	int i;
 
-	printf ("Interface '%s', %d methods\n",
+	printf ("Interface '%s', %u methods\n",
 		iface->tc->repo_id, iface->methods._length);
 
 	for (i = 0; i < iface->base_interfaces._length; i++) {
@@ -47,7 +47,7 @@ dump_iface (ORBit_IInterface *iface)
 		for (i = 0; i < iface->methods._length; i++) {
 			ORBit_IMethod *m = &iface->methods._buffer [i];
 			
-			printf ("  %s (%d args, %s) %s%s\n",
+			printf ("  %s (%u args, %s) %s%s\n",
 				m->name, m->arguments._length,
 				m->contexts._length ? "has context," : "",
 				m->ret ? "returns " : "",
@@ -118,7 +118,7 @@ main (int argc, char *argv [])
 	if (!tcs || tcs->_length == 0)
 		printf ("No types\n");
 	else {
-		printf ("%d types:\n", tcs->_length);
+		printf ("%u types:\n", tcs->_length);
 		for (i = 0; i < tcs->_length; i++)
 			dump_tc (tcs->_buffer [i], 0);
 	}
@@ -127,7 +127,7 @@ main (int argc, char *argv [])
 	if (!ifaces || ifaces->_length == 0)
 		printf ("No IInterfaces\n");
 	else {
-		printf ("%d interfaces:\n", ifaces->_length);
+		printf ("%u interfaces:\n", ifaces->_length);
 		for (i = 0; i < ifaces->_length; i++)
 			dump_iface (&ifaces->_buffer [i]);
 	}
Index: test/poa/poatest-basic11.c
===================================================================
RCS file: /cvs/gnome/ORBit2/test/poa/poatest-basic11.c,v
retrieving revision 1.2
diff -u -p -r1.2 poatest-basic11.c
--- test/poa/poatest-basic11.c	16 Apr 2005 08:27:55 -0000	1.2
+++ test/poa/poatest-basic11.c	2 May 2006 14:57:51 -0000
@@ -64,7 +64,6 @@ poatest_run (PortableServer_POA        r
 	PortableServer_ObjectId *objid;
 	PortableServer_ObjectId *objid_back;
 	CORBA_char              *objid_str;
-	int                      objid_str_length;
 
 	CORBA_exception_init( &ev );
 
@@ -90,7 +89,6 @@ poatest_run (PortableServer_POA        r
 	g_assert (objid_str != NULL);
 	g_assert (strlen (objid_str) == objid->_length);
 
-	objid_str_length = strlen (objid_str);
 	objid_back = PortableServer_string_to_ObjectId (objid_str, &ev);
 
 	g_assert (objid->_length == objid_back->_length);
