depot/third_party/nixpkgs/pkgs/applications/office/homebank/fix-clang-build.diff
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

23 lines
518 B
Diff

C Standard says in 6.8.1:
labeled-statement:
identifier : statement
case constant-expression : statement
default : statement
Notably, only expressions and no declarations are allowed. A common workaround for this
is adding an empty statement.
diff --git a/src/rep-budget.c b/src/rep-budget.c
index eb5cce6..61e2e77 100644
--- a/src/rep-budget.c
+++ b/src/rep-budget.c
@@ -255,7 +255,7 @@ gint tmpmode;
}
else
{
-libname:
+libname: ;
gchar *name;
gtk_tree_model_get(model, iter,