From dd55129ed36a5aeaf3e3b2ef909288cfcafd0766 Mon Sep 17 00:00:00 2001 From: Arthur O'Dwyer Date: Tue, 5 Jul 2022 13:09:24 -0400 Subject: [PATCH] Fix "extra ;" warnings on GCC --- rogueviz/gobot.cpp | 3 +-- rogueviz/presentation.cpp | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/rogueviz/gobot.cpp b/rogueviz/gobot.cpp index ef7fe285..18ee26da 100644 --- a/rogueviz/gobot.cpp +++ b/rogueviz/gobot.cpp @@ -610,8 +610,7 @@ auto gobot_hook = shot_state = 2; } return false; - }); - + }) ; #endif diff --git a/rogueviz/presentation.cpp b/rogueviz/presentation.cpp index 4f53394b..e18aff78 100644 --- a/rogueviz/presentation.cpp +++ b/rogueviz/presentation.cpp @@ -542,9 +542,8 @@ int runslide = arg::add3("-slides", [] { + arg::add3("-presangle", [] { arg::shift_arg_formula(angle); dir = 0; - }); + }) ; - } #endif }