mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-24 11:12:11 +01:00
gdate: Add an assertion to help static analysis
Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Coverity CID: #1486833
This commit is contained in:
parent
b810bdc94d
commit
c7c530c3b8
@ -2725,6 +2725,8 @@ g_date_strftime (gchar *s,
|
||||
g_warning (G_STRLOC "Error converting results of strftime to UTF-8: %s", error->message);
|
||||
g_error_free (error);
|
||||
|
||||
g_assert (convbuf == NULL);
|
||||
|
||||
s[0] = '\0';
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user