summaryrefslogtreecommitdiff
path: root/recordmydesktop/src/rmd.c
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2020-06-21 22:03:42 -0700
committerVito Caputo <vcaputo@pengaru.com>2020-07-11 13:36:34 -0700
commitbd92626fb30437b06084c948cb93ecc30c4fa63d (patch)
tree79de383e987c4f88b7aa75353b3081aa0e3b73c7 /recordmydesktop/src/rmd.c
parentd13729f5a0cdd2fa0f688a5dd6d9099282f58afa (diff)
rmd: zero initialize core structs
Diffstat (limited to 'recordmydesktop/src/rmd.c')
-rw-r--r--recordmydesktop/src/rmd.c6
1 files changed, 3 insertions, 3 deletions
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 <errno.h>
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
© All Rights Reserved