Remove unnecessary `enum` 60/277360/1
authorAdam Michalski <a.michalski2@partner.samsung.com>
Tue, 5 Jul 2022 14:54:45 +0000 (16:54 +0200)
committerAdam Michalski <a.michalski2@partner.samsung.com>
Tue, 5 Jul 2022 14:54:45 +0000 (16:54 +0200)
Change-Id: Ibd8c2f7efb8999a97d76c69ac04f0ca6e014d42e

sessiond/src/main.cpp

index 182d153..5f30d62 100644 (file)
@@ -536,14 +536,6 @@ struct sessiond_context {
                std::make_pair("GetCurrentUser"sv, &sessiond_context::on_get_current_user),
        };
 
-       enum {
-               DBUS_ERROR_INVALID_PARAMETER,
-               DBUS_ERROR_IO_ERROR,
-               DBUS_ERROR_ALREADY_EXISTS,
-               DBUS_ERROR_NOT_AVAILABLE,
-               DBUS_ERROR_RESOURCE_BUSY,
-       };
-
        // TODO: Currently, the first parameter is always a single-element tuple.
        // Consider simplifying wait_manager.
        // N.B. Although GLib is multi-threaded, the following data structures do not need