Fix two warnings about possibly missing printf format attributes
This commit is contained in:
@ -277,6 +277,13 @@ typedef struct
|
|||||||
GSList *tags;
|
GSList *tags;
|
||||||
} TextSpan;
|
} TextSpan;
|
||||||
|
|
||||||
|
static void set_error (GError **err,
|
||||||
|
GMarkupParseContext *context,
|
||||||
|
int error_domain,
|
||||||
|
int error_code,
|
||||||
|
const char *format,
|
||||||
|
...) G_GNUC_PRINTF (5, 6);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
set_error (GError **err,
|
set_error (GError **err,
|
||||||
GMarkupParseContext *context,
|
GMarkupParseContext *context,
|
||||||
|
@ -345,6 +345,12 @@ gimp_unit_get_plural (GimpUnit unit)
|
|||||||
return _gimp_unit_vtable.unit_get_plural (unit);
|
return _gimp_unit_vtable.unit_get_plural (unit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
static gint print (gchar *buf,
|
||||||
|
gint len,
|
||||||
|
gint start,
|
||||||
|
const gchar *fmt,
|
||||||
|
...) G_GNUC_PRINTF (4, 5);
|
||||||
|
|
||||||
static gint
|
static gint
|
||||||
print (gchar *buf,
|
print (gchar *buf,
|
||||||
gint len,
|
gint len,
|
||||||
|
Reference in New Issue
Block a user