sway

i3-compatible Wayland compositor
git clone https://git.awy.one/sway
Log | Files | Refs | README | LICENSE

commit 490f92255c2a428926e11671debeb31131ccd294
parent 39007fc30fa3619f14087d138acb8a49114631c3
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date:   Sun, 13 May 2018 11:40:05 +1000

Initialise error_arg to NULL in criteria_parse

Diffstat:
Msway/criteria.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/sway/criteria.c b/sway/criteria.c @@ -420,6 +420,7 @@ static void unescape(char *value) { * populated with an error string. It is up to the caller to free the error. */ struct criteria *criteria_parse(char *raw, char **error_arg) { + *error_arg = NULL; error = NULL; char *head = raw;