aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/afb-hook-flags.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/afb-hook-flags.c b/src/afb-hook-flags.c
index a2cb7eac..02ea3c8d 100644
--- a/src/afb-hook-flags.c
+++ b/src/afb-hook-flags.c
@@ -216,7 +216,7 @@ static char *to_text(int value, struct flags flags)
{
int borrow = 0, mask = 0, i, v, imask;
size_t s = 0;
- char *result;
+ char *result = NULL;
if (!value)
return strdup("none");