]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
silence complaining compiler
authorMichael Jerris <mike@jerris.com>
Mon, 29 Sep 2008 17:20:54 +0000 (17:20 +0000)
committerMichael Jerris <mike@jerris.com>
Mon, 29 Sep 2008 17:20:54 +0000 (17:20 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9741 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/switch_time.c

index 34bb816d45bada02806cf73579da1015618567e4..6a60c9ff0eed7c2274d27f81ecab7c105f4d0dc4 100644 (file)
@@ -542,7 +542,7 @@ SWITCH_DECLARE(switch_status_t) switch_strftime_tz(const char *tz, const char *f
 
        switch_size_t retsize;
 
-       struct tm tm;
+       struct tm tm = { 0 };
        switch_time_exp_t stm;
 
        thetime = switch_timestamp_now();