summaryrefslogtreecommitdiff
path: root/src/XrrProperty.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2008-12-17 11:27:19 -0500
committerAdam Jackson <ajax@redhat.com>2008-12-17 11:27:19 -0500
commit53bd07438d3671dca86df2bf3052f89ee8ce0891 (patch)
tree233f34e665582eb39122f9052359d90df2cba8c7 /src/XrrProperty.c
parent7c1ccb19bd2545ccdf7099489e946e772a25649f (diff)
Be sure to return NULL when returning no properties.
Diffstat (limited to 'src/XrrProperty.c')
-rw-r--r--src/XrrProperty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/XrrProperty.c b/src/XrrProperty.c
index 8377fff..d3d3246 100644
--- a/src/XrrProperty.c
+++ b/src/XrrProperty.c
@@ -41,7 +41,7 @@ XRRListOutputProperties (Display *dpy, RROutput output, int *nprop)
int nbytes, nbytesRead, rbytes;
int i;
xRRQueryVersionReq *vreq;
- Atom *props;
+ Atom *props = NULL;
RRCheckExtension (dpy, info, 0);