main: fix "unused local variable" warning
The variables "success" and "error" are only used if SQLite support is enabled.
This commit is contained in:
@@ -231,8 +231,10 @@ int main(int argc, char *argv[])
|
|||||||
Options options;
|
Options options;
|
||||||
clock_t start;
|
clock_t start;
|
||||||
bool create_db;
|
bool create_db;
|
||||||
|
#ifdef ENABLE_SQLITE
|
||||||
bool success;
|
bool success;
|
||||||
GError *error = NULL;
|
GError *error = NULL;
|
||||||
|
#endif
|
||||||
|
|
||||||
daemonize_close_stdin();
|
daemonize_close_stdin();
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user