summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ucad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ucad.c b/ucad.c
index 4ca35b0..649ef28 100644
--- a/ucad.c
+++ b/ucad.c
@@ -134,7 +134,7 @@ static void
handle_set_property_request (GSocketConnection *connection, UcaCamera *camera, gpointer message, GError **error)
{
UcaNetMessageSetPropertyRequest *request;
- UcaNetDefaultReply reply;
+ UcaNetDefaultReply reply = { .type = UCA_NET_MESSAGE_SET_PROPERTY };
GParamSpec *pspec;
GValue prop_value = {0};
GValue str_value = {0};