xrandr: Changes to 'master'

Jeremy Huddleston Sequoia jeremyhu at apple.com
Mon Mar 30 17:09:39 PDT 2015


xrandr.c:2470:8: error: void function 'print_output_property' should not return a value [-Wreturn-type,Semantic Issue]
       return NULL;
       ^      ~~~~
1 error generated.

---

Do you want to print an error message and then return?

> On Mar 29, 2015, at 21:58, Dave Airlie <airlied at kemper.freedesktop.org> wrote:
> 
> xrandr.c |   83 ++++++++++++++++++++++++++++++++++++++++-----------------------
> 1 file changed, 54 insertions(+), 29 deletions(-)
> 
> New commits:
> commit 6957ad0cf3cdd10e8f4a5638b36f25c7a9b4ea25
> Author: Dave Airlie <airlied at redhat.com>
> Date:   Mon Mar 30 14:51:49 2015 +1000
> 
>    xrandr: parse property returns correctly.
> 
>    Xlib uses longs for 32-bit, so when we get values back they
>    are in longs, this fixes the xrandr parsing code to parse
>    the correct sized values according to Xlib.
> 
>    Reviewed-by: Keith Packard <keithp at keithp.com>
>    Signed-off-by: Dave Airlie <airlied at redhat.com>
> 
> _______________________________________________
> xorg-commit mailing list
> xorg-commit at lists.x.org
> http://lists.x.org/mailman/listinfo/xorg-commit

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4109 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20150330/250da078/attachment.bin>


More information about the xorg-devel mailing list