From 9d8ce02622670114e80a61bee9d3f1b2781c6ad5 Mon Sep 17 00:00:00 2001 From: nick_battle Date: Sun, 22 Sep 2024 21:03:46 +0100 Subject: [PATCH] Mark @Printf format as executed --- annotations/src/main/java/annotations/in/INPrintfAnnotation.java | 1 + 1 file changed, 1 insertion(+) diff --git a/annotations/src/main/java/annotations/in/INPrintfAnnotation.java b/annotations/src/main/java/annotations/in/INPrintfAnnotation.java index 12c3ce807..e0b45066d 100644 --- a/annotations/src/main/java/annotations/in/INPrintfAnnotation.java +++ b/annotations/src/main/java/annotations/in/INPrintfAnnotation.java @@ -65,6 +65,7 @@ private void doPrintf(Context ctxt) } INStringLiteralExpression fmt = (INStringLiteralExpression)args.get(0); + fmt.location.hits++; Console.out.printf(fmt.value.value, values); } }