diff options
author | hwspeedy <ns@bigbear.dk> | 2024-03-11 23:26:34 +0100 |
---|---|---|
committer | hwspeedy <ns@bigbear.dk> | 2024-03-11 23:26:34 +0100 |
commit | aa3ac5ba573fa1dac8dec7b844d130355e49821c (patch) | |
tree | 618a217e460d22a9a4657b9cc824b07ce8c86158 /hardinfo2/util.c | |
parent | de70603e7a490a20d6eeee923c7764e426880a86 (diff) |
FIX GCC warnings - include & uninit free (Potential Crash - never seen)
Diffstat (limited to 'hardinfo2/util.c')
-rw-r--r-- | hardinfo2/util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hardinfo2/util.c b/hardinfo2/util.c index cbabcc53..86f2a4d2 100644 --- a/hardinfo2/util.c +++ b/hardinfo2/util.c @@ -90,7 +90,7 @@ gchar *seconds_to_string(unsigned int seconds) { unsigned int hours, minutes, days; const gchar *days_fmt, *hours_fmt, *minutes_fmt, *seconds_fmt; - gchar *full_fmt, *ret = g_strdup(""); + gchar *full_fmt=NULL, *ret = g_strdup(""); minutes = seconds / 60; seconds %= 60; |