* mu-msg-str: use G_GNUC_WARN_UNUSED_RESULT where it makes sense
This commit is contained in:
@ -44,7 +44,10 @@ mu_msg_str_date (time_t t)
|
||||
const char*
|
||||
mu_msg_str_size_s (size_t s)
|
||||
{
|
||||
/* note: we we use the powers-of-10, not powers-of-2 */
|
||||
|
||||
static char buf[32];
|
||||
|
||||
if (s >= 1000 * 1000)
|
||||
g_snprintf(buf, 32, "%.1fM", (double)s/(1000*1000));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user