summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Airlie <airlied@redhat.com>2015-03-31 11:49:00 +1000
committerDave Airlie <airlied@redhat.com>2015-03-31 11:52:54 +1000
commit3076c3494b6f3f00b9c4509c2dab6f40858af4cf (patch)
tree605d7a57a2c22bb40ba021fdaa38a027986814f5
parent6957ad0cf3cdd10e8f4a5638b36f25c7a9b4ea25 (diff)
xrandr: don't return NULL from a void
Reported-by: Jeremy Huddleston Sequoia <jeremyhu@apple.com> Signed-off-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--xrandr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xrandr.c b/xrandr.c
index 74d4127..c65fd7e 100644
--- a/xrandr.c
+++ b/xrandr.c
@@ -2467,7 +2467,7 @@ print_output_property(const char *atom_name,
bytes_per_item = sizeof(long);
break;
default:
- return NULL;
+ return;
}
/*
* Check for properties that need special formatting.