Skip to content

Commit b50974b

Browse files
committed
Fix build
1 parent 03c9c2e commit b50974b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Source/levels/reencode_dun_cels.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ size_t GetReencodedSize(const uint8_t *dungeonCels, std::span<std::pair<uint16_t
204204
size_t result = (2 + frames.size()) * 4;
205205
const auto *srcOffsets = reinterpret_cast<const uint32_t *>(dungeonCels);
206206
for (const auto &[frame, info] : frames) {
207-
size_t frameSize;
207+
size_t frameSize = 0;
208208
switch (info.type) {
209209
case TileType::TransparentSquare: {
210210
const uint32_t srcFrameBegin = Swap32LE(srcOffsets[frame]);

Source/panels/spell_list.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ void SetSpeedSpell(size_t slot)
292292

293293
bool IsValidSpeedSpell(size_t slot)
294294
{
295-
uint64_t spells;
295+
uint64_t spells = 0;
296296

297297
const Player &myPlayer = *MyPlayer;
298298

0 commit comments

Comments
 (0)