xeme/xeme
Clone
Summary
Browse
Changes
Graph
Make signal and property array initializers consistent
3 months ago, Elliott Sales de Andrade
cb874e13b5ff
Parents
447bc76f682a
Children
ad3533723a57
Make signal and property array initializers consistent
For similar reasons as /r/2935
Testing Done:
Compiled only.
Reviewed at https://reviews.imfreedom.org/r/2936/
3 files changed, 3 insertions(+), 3 deletions(-)
+1
-1
xeme/xemeconnection.c
+1
-1
xeme/xemeinputstream.c
+1
-1
xeme/xemestream.c
--- a/xeme/xemeconnection.c Tue Jan 23 00:30:44 2024 -0600
+++ b/xeme/xemeconnection.c Fri Jan 26 02:35:46 2024 -0600
@@ -31,7 +31,7 @@
PROP_TLS_MODE,
N_PROPERTIES,
};
-static GParamSpec *properties[N_PROPERTIES] = {NULL, 0};
+static GParamSpec *properties[N_PROPERTIES] = {NULL, };
struct _XemeConnection {
GObject parent;
--- a/xeme/xemeinputstream.c Tue Jan 23 00:30:44 2024 -0600
+++ b/xeme/xemeinputstream.c Fri Jan 26 02:35:46 2024 -0600
@@ -28,7 +28,7 @@
SIG_RESTART_REQUESTED,
N_SIGNALS,
};
-static guint signals[N_SIGNALS];
+static guint signals[N_SIGNALS] = {0, };
typedef struct {
gboolean running;
--- a/xeme/xemestream.c Tue Jan 23 00:30:44 2024 -0600
+++ b/xeme/xemestream.c Fri Jan 26 02:35:46 2024 -0600
@@ -29,7 +29,7 @@
PROP_VERSION,
N_PROPERTIES,
};
-static GParamSpec *properties[N_PROPERTIES] = {NULL, 0};
+static GParamSpec *properties[N_PROPERTIES] = {NULL, };
typedef struct {
GCancellable *cancellable;