server: silence mem debug warning
[fio.git] / server.c
index 4edb7e84d257a72c98d6d90959626f733f4e3ff0..74f5e6ad8ff36e53713deafbe1eb6272d26f99a1 100644 (file)
--- a/server.c
+++ b/server.c
@@ -480,6 +480,8 @@ void fio_server_send_ts(struct thread_stat *ts, struct group_run_stats *rs)
        struct cmd_ts_pdu p;
        int i, j;
 
+       memset(&p, 0, sizeof(p));
+
        strcpy(p.ts.name, ts->name);
        strcpy(p.ts.verror, ts->verror);
        strcpy(p.ts.description, ts->description);