diff options
author | Max Kellermann <max@duempel.org> | 2009-07-06 22:48:34 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-07-06 22:48:34 +0200 |
commit | 45df3e5e548d1d1f7f128c54291168efd3669b52 (patch) | |
tree | e548f8842e8c7515ec02a43b1e29731935f3b763 /src/main.c | |
parent | 468b7d3aeaa0e2de51814263a1ca19d89128f00b (diff) |
main: fix "unused local variable" warning
The variables "success" and "error" are only used if SQLite support is
enabled.
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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(); |