From bd92626fb30437b06084c948cb93ecc30c4fa63d Mon Sep 17 00:00:00 2001 From: Vito Caputo Date: Sun, 21 Jun 2020 22:03:42 -0700 Subject: rmd: zero initialize core structs --- recordmydesktop/src/rmd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'recordmydesktop/src') diff --git a/recordmydesktop/src/rmd.c b/recordmydesktop/src/rmd.c index f7c806f..7d3aecb 100644 --- a/recordmydesktop/src/rmd.c +++ b/recordmydesktop/src/rmd.c @@ -47,9 +47,9 @@ #include int main(int argc, char **argv){ - ProgData pdata; - EncData enc_data; - CacheData cache_data; + ProgData pdata = {}; + EncData enc_data = {}; + CacheData cache_data = {}; int exit_status = 0; #ifdef HAVE_LIBJACK -- cgit v1.2.3