From 45df3e5e548d1d1f7f128c54291168efd3669b52 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 6 Jul 2009 22:48:34 +0200 Subject: main: fix "unused local variable" warning The variables "success" and "error" are only used if SQLite support is enabled. --- src/main.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/main.c b/src/main.c index c19fc9324..e83cd3e17 100644 --- a/src/main.c +++ b/src/main.c @@ -231,8 +231,10 @@ int main(int argc, char *argv[]) Options options; clock_t start; bool create_db; +#ifdef ENABLE_SQLITE bool success; GError *error = NULL; +#endif daemonize_close_stdin(); -- cgit v1.2.3