Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Ughuuu committed Apr 7, 2024
1 parent f4ed34e commit c13ad13
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/register_types.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
using namespace godot;

static Ref<ResourceFormatLoaderSQLite> sqlite_loader;
const char * DEFAULT_DB_NAME = "filesystem/import/sqlite/default_extension";
const char *DEFAULT_DB_NAME = "filesystem/import/sqlite/default_extension";

void initialize_sqlite_module(ModuleInitializationLevel p_level) {
if (p_level != MODULE_INITIALIZATION_LEVEL_SCENE) {
Expand All @@ -29,9 +29,9 @@ void initialize_sqlite_module(ModuleInitializationLevel p_level) {
ResourceLoader::get_singleton()->add_resource_format_loader(sqlite_loader);
PackedStringArray array;
array.push_back("db");

ProjectSettings *project_settings = ProjectSettings::get_singleton();

if (!project_settings->has_setting(DEFAULT_DB_NAME)) {
project_settings->set(DEFAULT_DB_NAME, "");
}
Expand Down
1 change: 0 additions & 1 deletion src/resource/resource_sqlite.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

#include <godot_cpp/classes/file_access.hpp>


void SQLiteResource::set_file(const String &p_file) {
file = p_file;
emit_changed();
Expand Down

0 comments on commit c13ad13

Please sign in to comment.