warning fixes
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Successful in 11s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Successful in 12s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Successful in 11s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make-Without-sqlite3 (push) Failing after 9s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake-Without-sqlite3 (push) Failing after 13s
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson-Without-sqlite3 (push) Failing after 12s

This commit is contained in:
wt committed 2025-10-23 12:56:00 +07:00
1 parent e57233bf82
commit 1af7497460
9 files changed
+22 -5

No files matched your search

-1
View File
@@ -15,7 +15,6 @@ option(USE_WERROR "Enable SQLite3 support" OFF)
if(USE_SQLITE3)
find_package(SQLite3 REQUIRED)
# pkg_check_modules(SQLITE3 REQUIRED sqlite3)
add_definitions(-DUSE_SQLITE3)
endif()
+3
View File
@@ -1,5 +1,8 @@
#ifdef USE_SQLITE3
#include "database.h"
#include "sql.h"
#endif
#include "user.h"
bool db_delete_user(const int id) {
+4 -2
View File
@@ -1,7 +1,9 @@
#include <string.h>
#include "database.h"
#ifdef USE_SQLITE3
#include "sql.h"
#endif
#include "user.h"
#ifndef USE_SQLITE3
+3
View File
@@ -1,4 +1,7 @@
#ifndef USE_SQLITE3
#include "cJSON.h"
#endif
#include "database.h"
#ifdef USE_SQLITE3
+3
View File
@@ -1,4 +1,7 @@
#ifndef USE_SQLITE3
#include "cJSON.h"
#endif
#include "database.h"
#ifdef USE_SQLITE3
-2
View File
@@ -1,6 +1,4 @@
#include <cJSON.h>
// #include <sqlite3.h>
#include "file.h"
#include "user.h"
+3
View File
@@ -1,4 +1,7 @@
#ifndef USE_SQLITE3
#include "cJSON.h"
#endif
#include "database.h"
#ifdef USE_SQLITE3
+3
View File
@@ -1,5 +1,8 @@
#ifdef USE_SQLITE3
#include "database.h"
#include "sql.h"
#endif
#include "user.h"
User *db_update_user(const int userid, const char *username, const char *email,
+3
View File
@@ -1,5 +1,8 @@
#ifdef USE_SQLITE3
#include "database.h"
#include "sql.h"
#endif
#include "user.h"
bool db_update_user_field(const int id, const char *field, const char *value) {