diff options
author | Adam Jackson <ajax@redhat.com> | 2008-12-17 11:27:19 -0500 |
---|---|---|
committer | Adam Jackson <ajax@redhat.com> | 2008-12-17 11:27:19 -0500 |
commit | 53bd07438d3671dca86df2bf3052f89ee8ce0891 (patch) | |
tree | 233f34e665582eb39122f9052359d90df2cba8c7 | |
parent | 7c1ccb19bd2545ccdf7099489e946e772a25649f (diff) |
Be sure to return NULL when returning no properties.
-rw-r--r-- | src/XrrProperty.c | 2 |
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); |