Ticket #4798: valgrind.cosmetic.patch
File valgrind.cosmetic.patch, 1004 bytes (added by , 12 years ago) |
---|
-
boost/date_time/strings_from_facet.hpp
50 50 //grab the needed strings by using the locale to 51 51 //output each month 52 52 const charT* p_outfmt = outfmt.c_str(), *p_outfmt_end = p_outfmt + outfmt.size(); 53 tm tm_value = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; 53 54 for (int m=0; m < 12; m++) { 54 tm tm_value;55 55 tm_value.tm_mon = m; 56 56 stringstream_type ss; 57 57 ostream_iter_type oitr(ss); … … 103 103 //grab the needed strings by using the locale to 104 104 //output each month / weekday 105 105 const charT* p_outfmt = outfmt.c_str(), *p_outfmt_end = p_outfmt + outfmt.size(); 106 tm tm_value = { 0, 0, 0, 0, 0, 0, 0, 0, 0 }; 106 107 for (int i=0; i < 7; i++) { 107 tm tm_value;108 108 tm_value.tm_wday = i; 109 109 stringstream_type ss; 110 110 ostream_iter_type oitr(ss);