fix unused vars
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 9s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Failing after 9s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 12s

This commit is contained in:
wt
2025-10-23 12:42:45 +07:00
parent 72a78d2e7a
commit 5577ae5605
6 changed files with 18 additions and 1 deletions
+2
View File
@@ -4,8 +4,10 @@
#include <stdlib.h>
#include <string.h>
#ifdef USE_SQLITE3
#include "config.h"
#include "sql.h"
#endif
#ifdef USE_SQLITE3
sqlite3 *db = nullptr;
+4
View File
@@ -1,6 +1,10 @@
#include "cJSON.h"
#include "database.h"
#ifdef USE_SQLITE3
#include "sql.h"
#endif
#include "user.h"
#ifndef USE_SQLITE3
+4
View File
@@ -1,6 +1,10 @@
#include "cJSON.h"
#include "database.h"
#ifdef USE_SQLITE3
#include "sql.h"
#endif
#include "user.h"
#ifndef USE_SQLITE3
+4
View File
@@ -1,7 +1,11 @@
#include <pthread.h>
#include "database.h"
#ifdef USE_SQLITE3
#include "sql.h"
#endif
#include "user.h"
#ifndef USE_SQLITE3
+4
View File
@@ -1,6 +1,10 @@
#include "cJSON.h"
#include "database.h"
#ifdef USE_SQLITE3
#include "sql.h"
#endif
#include "user.h"
#ifndef USE_SQLITE3
-1
View File
@@ -1,6 +1,5 @@
#include "file.h"
#include <errno.h>
#include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>