~sircmpwn/hare-dev

harec: silence a "possibly uninitialized" warning v1 APPLIED

Bor Grošelj Simić: 1
 silence a "possibly uninitialized" warning

 1 files changed, 1 insertions(+), 1 deletions(-)
#787428 alpine.yml success
#787429 freebsd.yml success
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~sircmpwn/hare-dev/patches/33276/mbox | git am -3
Learn more about email & git

[PATCH harec] silence a "possibly uninitialized" warning Export this patch

Signed-off-by: Bor Grošelj Simić <bgs@turminal.net>
---
 src/check.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/check.c b/src/check.c
index dbd81d6..a18f976 100644
--- a/src/check.c
+++ b/src/check.c
@@ -3207,7 +3207,7 @@ check_function(struct context *ctx,

	// TODO: Add function name to errors
	if (decl->func.flags != 0) {
		const char *flag;
		const char *flag = NULL;
		switch (decl->func.flags) {
		case FN_INIT:
			flag = "@init";
-- 
2.36.1
harec/patches: SUCCESS in 51s

[silence a "possibly uninitialized" warning][0] from [Bor Grošelj Simić][1]

[0]: https://lists.sr.ht/~sircmpwn/hare-dev/patches/33276
[1]: mailto:bgs@turminal.net

✓ #787428 SUCCESS harec/patches/alpine.yml  https://builds.sr.ht/~sircmpwn/job/787428
✓ #787429 SUCCESS harec/patches/freebsd.yml https://builds.sr.ht/~sircmpwn/job/787429
Thanks!

To git@git.sr.ht:~sircmpwn/harec
   53f2eb1..8da848e  master -> master