From 4b9b19cec6e975d70511a4994d0634855234ae59 Mon Sep 17 00:00:00 2001 From: Miika Turkia Date: Wed, 6 Aug 2014 07:39:23 +0300 Subject: Fix compile warning warning: format not a string literal and no format arguments Signed-off-by: Miika Turkia Signed-off-by: Dirk Hohndel --- planner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/planner.c b/planner.c index 3efa702d0..60751fcfd 100644 --- a/planner.c +++ b/planner.c @@ -534,7 +534,7 @@ static void add_plan_to_notes(struct diveplan *diveplan, struct dive *dive, bool return; if (error) { - snprintf(temp, sizeof(temp), + snprintf(temp, sizeof(temp), "%s", translate("gettextFromC", "Decompression calculation aborted due to excessive time")); snprintf(buffer, sizeof(buffer), "%s %s
", translate("gettextFromC", "Warning:"), temp); -- cgit v1.2.3-70-g09d2