From 160887e65d5bf92e01e8c378c212ddafb3063a2e Mon Sep 17 00:00:00 2001 From: "matthias.ringwald" Date: Tue, 14 Feb 2012 19:20:42 +0000 Subject: [PATCH] avoid error for defined but unused preferences_changed_callback --- src/daemon.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon.c b/src/daemon.c index 28913934c..b2f60f371 100644 --- a/src/daemon.c +++ b/src/daemon.c @@ -410,13 +410,13 @@ static void update_ui_status(void){ } } +#ifdef USE_SPRINGBOARD static void preferences_changed_callback(void){ -#ifdef USE_BLUETOOL int logging = platform_iphone_logging_enabled(); log_info("Logging enabled: %u\n", logging); daemon_set_logging_enabled(logging); -#endif } +#endif static void deamon_status_event_handler(uint8_t *packet, uint16_t size){