From ab0256208977d1d2633be7f1dc0abe9aa2e3d439 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Deuc=D0=B5?= <shurd@sasktel.net>
Date: Thu, 20 May 2021 04:32:33 -0400
Subject: [PATCH] ifdef out an unused static function for now.

It will be used in the future, so the code shouldn't be deleted,
but not using it causes a warning.
---
 src/syncterm/ripper.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/syncterm/ripper.c b/src/syncterm/ripper.c
index 92d1ce1c71..bf662b6acf 100644
--- a/src/syncterm/ripper.c
+++ b/src/syncterm/ripper.c
@@ -10091,6 +10091,7 @@ broken_flood_fill(struct ciolib_pixels *pix, int x, int y, uint32_t edge, uint32
 	}
 }
 
+#if 0
 static void
 flood_fill(struct ciolib_pixels *pix, int x1, int y1, uint32_t edge, uint32_t fillfg, uint32_t fillbg)
 {
@@ -10120,6 +10121,7 @@ flood_fill(struct ciolib_pixels *pix, int x1, int y1, uint32_t edge, uint32_t fi
 	if (y1 > 0)
 		flood_fill(pix, x1, y1 - 1, edge, fillfg, fillbg);
 }
+#endif
 
 struct point {
 	int x;
-- 
GitLab