dbus/dbus/bus
Colin Walters
walters at verbum.org
Fri Aug 20 08:28:50 PDT 2004
CVS commit by walters:
2004-08-20 Colin Walters <walters at redhat.com>
* bus/config-parser.c (start_busconfig_child): Remove some unused
variables.
* bus/selinux.c (bus_selinux_id_table_insert): Avoid compiler
warning.
M +0 -3 dbus/dbus/bus/config-parser.c 1.34
M +1 -1 dbus/dbus/bus/selinux.c 1.4
--- dbus/dbus/bus/selinux.c #1.3:1.4
@@ -425,5 +425,5 @@ bus_selinux_id_table_insert (DBusHashTab
return retval;
- if (avc_context_to_sid (service_context, &sid) < 0)
+ if (avc_context_to_sid ((char *) service_context, &sid) < 0)
{
_dbus_assert (errno == ENOMEM);
--- dbus/dbus/bus/config-parser.c #1.33:1.34
@@ -872,7 +872,4 @@ start_busconfig_child (BusConfigParser
else if (strcmp (element_name, "selinux") == 0)
{
- Element *e;
- const char *name;
-
if (!check_no_attributes (parser, "selinux", attribute_names, attribute_values, error))
return FALSE;
More information about the dbus-commit
mailing list