Remove dead code
Ross Burton
ross at burtonini.com
Thu Oct 27 04:41:14 PDT 2005
Hi,
Tiny patch to remove dead code (I assume gcc is already stripping it
out, but better safe than sorry):
Index: dbus/dbus-marshal-header.c
===================================================================
RCS file: /cvs/dbus/dbus/dbus/dbus-marshal-header.c,v
retrieving revision 1.14
diff -u -r1.14 dbus-marshal-header.c
--- dbus/dbus-marshal-header.c 16 Jun 2005 04:27:45 -0000 1.14
+++ dbus/dbus-marshal-header.c 27 Oct 2005 11:39:49 -0000
@@ -153,10 +167,6 @@
int field_code,
DBusTypeReader *variant_reader)
{
- int variant_type;
-
- variant_type = _dbus_type_reader_get_current_type (variant_reader);
-
header->fields[field_code].value_pos =
_dbus_type_reader_get_value_pos (variant_reader);
Ross
--
Ross Burton mail: ross at burtonini.com
jabber: ross at burtonini.com
www: http://www.burtonini.com./
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
More information about the dbus
mailing list