summaryrefslogtreecommitdiff
path: root/src/XrrProviderProperty.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 16:45:38 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-17 16:45:38 -0700
commit684ed1b997f9e8a2fe2219524c1dea04b20a7e25 (patch)
tree3ee5dafa6f75483460c147a07066fd8a53d945c5 /src/XrrProviderProperty.c
parent8ddb2aefcda77709cf98f15fbcb7d97a2d00ab7d (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 'src/XrrProviderProperty.c')
0 files changed, 0 insertions, 0 deletions