summaryrefslogtreecommitdiff
path: root/src/locale
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-11-18 22:57:56 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2013-11-18 23:04:16 +0100
commitd5d217eae1b3ba978c4ddd6a2ef2de4621329662 (patch)
treeb7a75570c2d131008da0ca400b9e0b88e6dffc11 /src/locale
parentf21326e604fd252600f3b99c277b30981477e4b1 (diff)
remove unused variables
Diffstat (limited to 'src/locale')
-rw-r--r--src/locale/localectl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/locale/localectl.c b/src/locale/localectl.c
index d8dd66a197..f7fea48ffe 100644
--- a/src/locale/localectl.c
+++ b/src/locale/localectl.c
@@ -139,7 +139,6 @@ fail:
static int set_locale(sd_bus *bus, char **args, unsigned n) {
_cleanup_bus_message_unref_ sd_bus_message *m = NULL;
- _cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
_cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
int r;
@@ -365,7 +364,6 @@ static int list_locales(sd_bus *bus, char **args, unsigned n) {
}
static int set_vconsole_keymap(sd_bus *bus, char **args, unsigned n) {
- _cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
_cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
const char *map, *toggle_map;
int r;
@@ -472,7 +470,6 @@ static int list_vconsole_keymaps(sd_bus *bus, char **args, unsigned n) {
}
static int set_x11_keymap(sd_bus *bus, char **args, unsigned n) {
- _cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
_cleanup_bus_error_free_ sd_bus_error error = SD_BUS_ERROR_NULL;
const char *layout, *model, *variant, *options;
int r;