Being a macro, the unused return value triggers a diagnostic.
This probably needs further investigation, but we have the issue linked
below for that.
Link: <https://github.com/shadow-maint/shadow/issues/1221>
Reviewed-by: Serge Hallyn <serge@hallyn.com>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
#ifdef USE_SSSD
extern int sssd_flush_cache (int dbflags);
#else
-#define sssd_flush_cache(service) (0)
+static inline int
+sssd_flush_cache(int)
+{
+ return 0;
+}
#endif
#endif