[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
GetText 0.21 and warning: address of array always evaluate to 'true'
From: |
Jeffrey Walton |
Subject: |
GetText 0.21 and warning: address of array always evaluate to 'true' |
Date: |
Wed, 18 Nov 2020 22:18:05 -0500 |
Hi Everyone,
I'm working on OS X 10.13. This may be a warning of interest for GetText 0.21:
libcroco/cr-cascade.c:212:47: warning: address of array
'((a_this)->priv)->sheets' will always evaluate to 'true'
[-Wpointer-bool-conversion]
for (i = 0; PRIVATE (a_this)->sheets && i < NB_ORIGINS; i++) {
~~~~~~~~~~~~~~~~~~^~~~~~ ~~
I can't really tell what the intention is for sheets.
Jeff
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- GetText 0.21 and warning: address of array always evaluate to 'true',
Jeffrey Walton <=