From 0271ad6322775de43f0c3f790f070b975861aa7d Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 4 Dec 2010 11:44:56 +0000 Subject: Give functions that use printf style formatting GCC format attributes so if incorrect formatting is used the compiler will warn of this. found & fixed 2x incorrect formatting args. --- source/blender/makesrna/intern/rna_access.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna/intern/rna_access.c') diff --git a/source/blender/makesrna/intern/rna_access.c b/source/blender/makesrna/intern/rna_access.c index 9ec21b13695..77ff78fc9bf 100644 --- a/source/blender/makesrna/intern/rna_access.c +++ b/source/blender/makesrna/intern/rna_access.c @@ -3771,7 +3771,7 @@ char *RNA_property_as_string(bContext *C, PointerRNA *ptr, PropertyRNA *prop) BLI_dynstr_appendf(dynstr, "'%s'", identifier); } else { - BLI_dynstr_appendf(dynstr, "''", identifier); + BLI_dynstr_append(dynstr, "''"); } break; } -- cgit v1.2.3