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