aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/main.c2
1 files changed, 2 insertions, 0 deletions
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();