From 06993a4ac8261f1ea6876d7593b14cf43103214b Mon Sep 17 00:00:00 2001 From: Brahmajit Das Date: Tue, 16 May 2023 16:49:15 +0530 Subject: util/fbsetroot: Don't use register keyword Register keyword has been deprecated since c++14 and completely removed since c++17. Encountered while building fluxbox with clang-16. Signed-off-by: Brahmajit Das --- util/fbsetroot.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/fbsetroot.cc b/util/fbsetroot.cc index 0859960..a9ac2a5 100644 --- a/util/fbsetroot.cc +++ b/util/fbsetroot.cc @@ -219,7 +219,7 @@ void fbsetroot::modula(int x, int y) { char data[32]; long pattern = 0; - register int i; + int i; FbRootWindow root(screen); -- cgit v0.11.2