[gobject-introspection/ebassi/issue-319] Initialise argument
- From: Emmanuele Bassi <ebassi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gobject-introspection/ebassi/issue-319] Initialise argument
- Date: Wed, 2 Jun 2021 11:41:03 +0000 (UTC)
commit f7eed6dd1c0f15f11c8f74c73bc2ade828933fb3
Author: Emmanuele Bassi <ebassi gnome org>
Date: Wed Jun 2 12:39:00 2021 +0100
Initialise argument
Avoid a "maybe uninitialized" compiler warning.
girepository/ginvoke.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/girepository/ginvoke.c b/girepository/ginvoke.c
index f7e64493..5d423b1e 100644
--- a/girepository/ginvoke.c
+++ b/girepository/ginvoke.c
@@ -251,7 +251,7 @@ gi_cclosure_marshal_generic (GClosure *closure,
gpointer invocation_hint,
gpointer marshal_data)
{
- GIArgument return_ffi_value;
+ GIArgument return_ffi_value = { 0, };
ffi_type *rtype;
void *rvalue;
int n_args;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]