about summary refs log tree commit diff stats
path: root/src/tools/aesgcm_download.c
diff options
context:
space:
mode:
authorSteffen Jaeckel <jaeckel-floss@eyet-services.de>2023-05-11 12:00:15 +0200
committerMichael Vetter <jubalh@iodoru.org>2023-05-12 08:39:29 +0200
commitd8eea87f6001ef6ba1b2b4c127a6b090ed00226e (patch)
tree7f05070275d5cc3405cbe9ca7f7305a9aeaf8151 /src/tools/aesgcm_download.c
parent197b839944c139672e2aa1e9e83632630138f6a7 (diff)
downloadprofani-tty-d8eea87f6001ef6ba1b2b4c127a6b090ed00226e.tar.gz
Fix `-Werror=maybe-uninitialized`
When compiling with `CFLAGS="-O2 -fexceptions -Wp,-D_FORTIFY_SOURCE=2"`, as
done per default when creating an AUR package e.g. via `makepkg`, this
error is produced.

Refactor `stanza_create_mam_iq()` in order to fix said warning-turned-into-
an-error.

Edit by jubalh:
I still think the error message is a false positive. But this commit improves the
code a lot.

Signed-off-by: Steffen Jaeckel <jaeckel-floss@eyet-services.de>
Diffstat (limited to 'src/tools/aesgcm_download.c')
0 files changed, 0 insertions, 0 deletions