shithub: ft²

Download patch

ref: f5bf501d586384d16062e8380433e2b9736dc3d5
parent: 0f13e15d79d27124d3f1dbba1ea17d60a8b1b47d
author: Olav Sørensen <olav.sorensen@live.no>
date: Thu Aug 15 15:32:55 EDT 2024

Prevent compiler warning if HAS_LIBFLAC is not defined

--- a/src/smploaders/ft2_load_flac.c
+++ b/src/smploaders/ft2_load_flac.c
@@ -432,5 +432,6 @@
 	(void)decoder;
 	(void)client_data;
 }
-
+#else
+typedef int prevent_compiler_warning; // kludge: prevent warning about empty .c file if HAS_LIBFLAC is not defined
 #endif
--