From c3a92aa6d6536a82f4f50da5af0d1c76eb6f2709 Mon Sep 17 00:00:00 2001 From: John Darrington Date: Sat, 22 Aug 2020 13:54:14 +0200 Subject: [PATCH] src/ui/gui/dummy.c: Eliminate warnings when building with gcc-10.2.0 --- src/ui/gui/dummy.c | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/src/ui/gui/dummy.c b/src/ui/gui/dummy.c index fa28d207b3..e8ee492dc6 100644 --- a/src/ui/gui/dummy.c +++ b/src/ui/gui/dummy.c @@ -24,6 +24,7 @@ #include +#include #include @@ -33,15 +34,28 @@ const GEnumValue align[1]; const GEnumValue measure[1]; const GEnumValue role[1]; - const int N_AG_FUNCS = 0; const struct ag_func ag_func[1]; int F_8_0; -int var_is_numeric () {} - - -int tt_options_dialog_run () {} - -int agr_func_tab () {} +int +var_is_numeric () +{ + assert (0); + return -1; +} + +int +tt_options_dialog_run () +{ + assert (0); + return -1; +} + +int +agr_func_tab () +{ + assert (0); + return -1; +} -- 2.30.2