mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
Fix all build warnings
- vk_utils.hpp: mark unused 'msg' parameter with [[maybe_unused]] - world_packets.cpp: write exactMatch field to auction list packet (was accepted as parameter but never serialized) - game_screen.cpp: remove unused bagIcons array and unused info variable - talent_screen.cpp: remove unused nextRank and pMin variables
This commit is contained in:
parent
a825450048
commit
997318ae06
4 changed files with 2 additions and 7 deletions
|
|
@ -48,7 +48,7 @@ AllocatedBuffer uploadBuffer(VkContext& ctx, const void* data, VkDeviceSize size
|
|||
VkBufferUsageFlags usage);
|
||||
|
||||
// Check VkResult and log on failure
|
||||
inline bool vkCheck(VkResult result, const char* msg) {
|
||||
inline bool vkCheck(VkResult result, [[maybe_unused]] const char* msg) {
|
||||
if (result != VK_SUCCESS) {
|
||||
// Caller should log the message
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue