Cleanup: Clang tidy, unused variable warning
This commit is contained in:
parent
1516f7dcde
commit
95964444c6
|
@ -342,7 +342,7 @@ class SpreadsheetLayoutDrawer : public SpreadsheetDrawer {
|
|||
/* Tooltip showing raw byte values. Encode values in pointer to avoid memory allocation. */
|
||||
UI_but_func_tooltip_set(
|
||||
but,
|
||||
[](bContext *C, void *argN, const char *UNUSED(tip)) {
|
||||
[](bContext * /*C*/, void *argN, const char *UNUSED(tip)) {
|
||||
const uint32_t uint_color = POINTER_AS_UINT(argN);
|
||||
ColorGeometry4b color = *(ColorGeometry4b *)&uint_color;
|
||||
return BLI_sprintfN(TIP_("Byte Color (sRGB encoded):\n%3d %3d %3d %3d"),
|
||||
|
|
|
@ -148,7 +148,7 @@ void FrameBuffer::load_store_config_array(const GPULoadStore *load_store_actions
|
|||
}
|
||||
}
|
||||
|
||||
unsigned int FrameBuffer::get_bits_per_pixel(void)
|
||||
unsigned int FrameBuffer::get_bits_per_pixel()
|
||||
{
|
||||
unsigned int total_bits = 0;
|
||||
for (GPUAttachment &attachment : attachments_) {
|
||||
|
|
Loading…
Reference in New Issue