mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 11:26:16 +01:00
gvariant: Clarify operator precedence
This doesn’t change the behaviour of the code, but should squash some compiler/static analysis warnings about ‘are you sure you got the precedence right here?’. Coverity CID: #1159470 Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
parent
3a7acd24a9
commit
d5778ec479
@ -4289,7 +4289,7 @@ g_variant_format_string_scan (const gchar *string,
|
|||||||
const gchar *limit,
|
const gchar *limit,
|
||||||
const gchar **endptr)
|
const gchar **endptr)
|
||||||
{
|
{
|
||||||
#define next_char() (string == limit ? '\0' : *string++)
|
#define next_char() (string == limit ? '\0' : *(string++))
|
||||||
#define peek_char() (string == limit ? '\0' : *string)
|
#define peek_char() (string == limit ? '\0' : *string)
|
||||||
char c;
|
char c;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user