diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-10-17 16:45:38 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-10-17 16:45:38 -0700 |
commit | 684ed1b997f9e8a2fe2219524c1dea04b20a7e25 (patch) | |
tree | 3ee5dafa6f75483460c147a07066fd8a53d945c5 /man/Xrandr.man | |
parent | 8ddb2aefcda77709cf98f15fbcb7d97a2d00ab7d (diff) |
XRRGetProviderInfo: Remove unneeded ProviderInfoExtra
It was always 0, hence caused gcc warnings:
XrrProvider.c: In function ‘XRRGetProviderInfo’:
XrrProvider.c:133:49: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rep.length > INT_MAX >> 2 || rep.length < ProviderInfoExtra >> 2)
^
XrrProvider.c:135:17: warning: comparison of unsigned expression < 0 is always false [-Wtype-limits]
if (rep.length < ProviderInfoExtra >> 2)
^
XrrProvider.c:135:5: warning: this condition has identical branches [-Wduplicated-branches]
if (rep.length < ProviderInfoExtra >> 2)
^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'man/Xrandr.man')
0 files changed, 0 insertions, 0 deletions