aboutsummaryrefslogtreecommitdiffstats
path: root/src/gamma-randr.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gamma-randr.c')
-rw-r--r--src/gamma-randr.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gamma-randr.c b/src/gamma-randr.c
index 983e43b..9e528b5 100644
--- a/src/gamma-randr.c
+++ b/src/gamma-randr.c
@@ -281,12 +281,6 @@ randr_print_help(FILE *f)
int
randr_set_option(randr_state_t *state, const char *key, const char *value)
{
- if (key == NULL) {
- fprintf(stderr, _("Missing value for parameter: `%s'.\n"),
- value);
- return -1;
- }
-
if (strcasecmp(key, "screen") == 0) {
state->screen_num = atoi(value);
} else if (strcasecmp(key, "crtc") == 0) {