From 6c7822b5bc5fd0aed202166d9bb9003dc52a20c6 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Fri, 23 Oct 2015 12:44:13 +0000 Subject: [PATCH] Prevented use of an uninitialized variable. Coverity CID 21842. --- cdrskin/cdrskin.c | 2 +- cdrskin/cdrskin_timestamp.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cdrskin/cdrskin.c b/cdrskin/cdrskin.c index fd185f6..e342694 100644 --- a/cdrskin/cdrskin.c +++ b/cdrskin/cdrskin.c @@ -6462,7 +6462,7 @@ int Cdrskin_burn_pacifier(struct CdrskiN *skin, int start_tno, { double bytes_to_write= 0.0; double written_bytes= 0.0,written_total_bytes= 0.0; - double fixed_size,padding,sector_size,speed_factor; + double fixed_size= 0.0, padding,sector_size,speed_factor; double measured_total_speed,measured_speed; double elapsed_time,elapsed_total_time,current_time; double estim_time,estim_minutes,estim_seconds,percent; diff --git a/cdrskin/cdrskin_timestamp.h b/cdrskin/cdrskin_timestamp.h index e6f931a..19fb4de 100644 --- a/cdrskin/cdrskin_timestamp.h +++ b/cdrskin/cdrskin_timestamp.h @@ -1 +1 @@ -#define Cdrskin_timestamP "2015.10.23.123606" +#define Cdrskin_timestamP "2015.10.23.124544"