From 533a674f70e725f6fe0f3a4ced1eb18ba3374323 Mon Sep 17 00:00:00 2001 From: korenkonder Date: Fri, 19 Sep 2025 14:37:07 +0300 Subject: [PATCH] Removed double semicolons at line ends --- src/CRE/Glitter/file_writer.cpp | 4 ++-- src/CRE/effect.cpp | 6 +++--- src/CRE/rob/ex_block.cpp | 2 +- src/CRE/stage_param.cpp | 6 +++--- src/KKdLib/hash.hpp | 10 +++++----- src/KKdLib/image.cpp | 2 +- src/ReDIVA/data_test/object_test.cpp | 2 +- src/ReDIVA/data_test/opd_test.cpp | 2 +- src/ReDIVA/x_pv_game.hpp | 2 +- 9 files changed, 18 insertions(+), 18 deletions(-) diff --git a/src/CRE/Glitter/file_writer.cpp b/src/CRE/Glitter/file_writer.cpp index 3dcc4f92..e0680f75 100644 --- a/src/CRE/Glitter/file_writer.cpp +++ b/src/CRE/Glitter/file_writer.cpp @@ -1918,7 +1918,7 @@ namespace Glitter { *(uint32_t*)(d + 4) = c->repeat ? 1 : 0; *(uint32_t*)(d + 8) = c->flags; *(float_t*)(d + 12) = c->random_range; - *(uint16_t*)(d + 16) = (uint16_t)c->keys.size();;; + *(uint16_t*)(d + 16) = (uint16_t)c->keys.size();; *(uint16_t*)(d + 18) = c->start_time; *(uint16_t*)(d + 20) = c->end_time; } @@ -1948,7 +1948,7 @@ namespace Glitter { *(uint32_t*)(d + 4) = c->repeat ? 1 : 0; *(uint32_t*)(d + 8) = c->flags; *(float_t*)(d + 12) = c->random_range; - *(uint16_t*)(d + 28) = (uint16_t)c->keys.size();; + *(uint16_t*)(d + 28) = (uint16_t)c->keys.size(); *(uint16_t*)(d + 30) = c->start_time; *(uint16_t*)(d + 32) = c->end_time; } diff --git a/src/CRE/effect.cpp b/src/CRE/effect.cpp index 35a3c660..d4849939 100644 --- a/src/CRE/effect.cpp +++ b/src/CRE/effect.cpp @@ -4019,7 +4019,7 @@ void ParticleEmitterRob::ctrl(float_t delta_time) { return; vec3 prev_velocity = this->prev_velocity * emission_velocity_scale; - vec3 velocity = this->velocity * emission_velocity_scale;; + vec3 velocity = this->velocity * emission_velocity_scale; vec3 trans_diff = pos - prev_pos; vec3 velocity_diff = velocity - prev_velocity; @@ -4035,7 +4035,7 @@ void ParticleEmitterRob::ctrl(float_t delta_time) { ptcl->position = rand_vec * 0.05f + (trans_diff * diff_scale + prev_pos); ptcl->direction = rand_vec * 0.65f + (velocity_diff * diff_scale + prev_velocity); - float_t size_scale = rand_a_get_float();; + float_t size_scale = rand_a_get_float(); ptcl->flags = 0x01; ptcl->size = max_def(size_scale * size_scale * particle_size, 1.0f); @@ -4267,7 +4267,7 @@ void water_particle::free() { void water_particle::reset() { splash = 0; color = 1.0f; - particle_size = 1.0f;; + particle_size = 1.0f; splash_count = 0; ptcl_data.clear(); count = 0; diff --git a/src/CRE/rob/ex_block.cpp b/src/CRE/rob/ex_block.cpp index 19b8c619..c7560f9e 100644 --- a/src/CRE/rob/ex_block.cpp +++ b/src/CRE/rob/ex_block.cpp @@ -2474,7 +2474,7 @@ void RobOsage::CollideNodesTargetOsage(const mat4& root_matrix, if (i->bone_node_mat) mat4_scale_rot(&v64, &parent_scale, i->bone_node_mat); - i->reset_data.length = i->TranslateMat(v64, rot_clamped, parent_scale.x);; + i->reset_data.length = i->TranslateMat(v64, rot_clamped, parent_scale.x); i->delta_pos = (i->pos - i->fixed_pos) * inv_step; diff --git a/src/CRE/stage_param.cpp b/src/CRE/stage_param.cpp index bddc7edd..986cd32f 100644 --- a/src/CRE/stage_param.cpp +++ b/src/CRE/stage_param.cpp @@ -317,9 +317,9 @@ void stage_param_data_coli::load(const int32_t& pv_id) { } void stage_param_data_coli::reset() { - stage_ring_data.clear();; - mhd_id_ring_data.clear();; - stage_wind_file.clear();; + stage_ring_data.clear(); + mhd_id_ring_data.clear(); + stage_wind_file.clear(); pv_id = -1; } diff --git a/src/KKdLib/hash.hpp b/src/KKdLib/hash.hpp index 0c1654c0..a921d62c 100644 --- a/src/KKdLib/hash.hpp +++ b/src/KKdLib/hash.hpp @@ -76,7 +76,7 @@ inline uint16_t hash_string_crc16_ccitt(const std::string& data, bool make_upper inline uint64_t hash_utf8_xxh3_64bits(const char* data, bool make_upper = false) { if (make_upper) { // Modification for only uppercase latin text size_t size = utf8_length(data); - char* temp = force_malloc(size + 1);; + char* temp = force_malloc(size + 1); memmove(temp, data, size + 1); uint8_t* d = (uint8_t*)temp; @@ -120,7 +120,7 @@ inline uint64_t hash_utf16_xxh3_64bits(const wchar_t* data, bool make_upper = fa inline uint64_t hash_string_xxh3_64bits(const std::string& data, bool make_upper = false) { if (make_upper) { // Modification for only uppercase latin text size_t size = data.size(); - char* temp = force_malloc(size + 1);; + char* temp = force_malloc(size + 1); memmove(temp, data.data(), size + 1); uint8_t* d = (uint8_t*)temp; @@ -138,10 +138,10 @@ inline uint64_t hash_string_xxh3_64bits(const std::string& data, bool make_upper return hash_xxh3_64bits(data.data(), data.size()); } -inline uint64_t hash_utf8_xxh3_64bits(uint32_t adler, const char* data, bool make_upper = false) { +inline uint64_t hash_utf8_adler32(uint32_t adler, const char* data, bool make_upper = false) { if (make_upper) { // Modification for only uppercase latin text size_t size = utf8_length(data); - char* temp = force_malloc(size + 1);; + char* temp = force_malloc(size + 1); memmove(temp, data, size + 1); uint8_t* d = (uint8_t*)temp; @@ -185,7 +185,7 @@ inline uint64_t hash_utf16_adler32(uint32_t adler, const wchar_t* data, bool mak inline uint64_t hash_string_adler32(uint32_t adler, const std::string& data, bool make_upper = false) { if (make_upper) { // Modification for only uppercase latin text size_t size = data.size(); - char* temp = force_malloc(size + 1);; + char* temp = force_malloc(size + 1); memmove(temp, data.data(), size + 1); uint8_t* d = (uint8_t*)temp; diff --git a/src/KKdLib/image.cpp b/src/KKdLib/image.cpp index b278bb3d..757f9c86 100644 --- a/src/KKdLib/image.cpp +++ b/src/KKdLib/image.cpp @@ -16,7 +16,7 @@ color_tone::color_tone() : reserved() { hue = 0.0f; saturation = 1.0f; value = 0.0f; - contrast = 1.0f;; + contrast = 1.0f; inverse = false; } diff --git a/src/ReDIVA/data_test/object_test.cpp b/src/ReDIVA/data_test/object_test.cpp index 2c54e486..2c310df3 100644 --- a/src/ReDIVA/data_test/object_test.cpp +++ b/src/ReDIVA/data_test/object_test.cpp @@ -380,7 +380,7 @@ void DataTestObjectManager::set_object_set_index(int32_t object_set_index) { obj_set_name.assign(obj_set_name.substr(0, 10)); object_set_id = aft_obj_db->get_object_set_id(obj_set_name.c_str()); - app::TaskWork::add_task(this, "DATA_TEST_OBJECT_MANAGER");; + app::TaskWork::add_task(this, "DATA_TEST_OBJECT_MANAGER"); } void DataTestObjectManager::set_rotation(const vec3& value) { diff --git a/src/ReDIVA/data_test/opd_test.cpp b/src/ReDIVA/data_test/opd_test.cpp index 5789ed62..8a5d0c8d 100644 --- a/src/ReDIVA/data_test/opd_test.cpp +++ b/src/ReDIVA/data_test/opd_test.cpp @@ -481,7 +481,7 @@ void DataTestOpdDw::InitModule() { for (auto& i : module_table_handler_data_get_modules()) list->AddItem(i.second.name); list->SetItemIndex(data.selected_module); - list->SetMaxItems(40);; + list->SetMaxItems(40); list->SetFont(dw::p_font_type_6x12); dw::Button* add = new dw::Button(comp, dw::FLAG_8); diff --git a/src/ReDIVA/x_pv_game.hpp b/src/ReDIVA/x_pv_game.hpp index c0e5666e..293f237a 100644 --- a/src/ReDIVA/x_pv_game.hpp +++ b/src/ReDIVA/x_pv_game.hpp @@ -934,7 +934,7 @@ public: texture_database tex_db_base; texture_database_file tex_db; prj::vector_pair tex_ids; - std::string mmp_base_path;; + std::string mmp_base_path; MMPData(); ~MMPData();