aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Gilbert <dave@treblig.org>2021-06-26 21:44:57 +0100
committerGitHub <noreply@github.com>2021-06-26 21:44:57 +0100
commit88f9558049e74da4eb8c2dbf4030d42c10cc2fa0 (patch)
tree848c28ca25239ed77f20464c72d8c0355c51d188
parentde3f487f1d67b286914026c102dff489d84a470a (diff)
parent2a60fc295ec0be215b4929918b07eaaf28076ac9 (diff)
downloadpurple-matrix-88f9558049e74da4eb8c2dbf4030d42c10cc2fa0.tar.gz
Merge pull request #118 from penguin42/gh108unitfix
Build failure workaround: _on_typing
-rw-r--r--matrix-room.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/matrix-room.c b/matrix-room.c
index cd17ae7..040ab38 100644
--- a/matrix-room.c
+++ b/matrix-room.c
@@ -210,6 +210,7 @@ static void _on_typing(PurpleConversation *conv,
old_user_ids = matrix_json_object_get_array_member(old_state->content, "user_ids");
old_len = json_array_get_length(old_user_ids);
} else {
+ old_user_ids = NULL; /* Work around gcc 10.3.1 false uninit warn */
old_len = 0;
}