applications/clang: Missing initializer
Fix missing initializer warning from Clang.
Bug: b/299156109
Docs: N/A
Change-Id: Ib45705fb0b0536be3beebc7b7786a2e352c1bff4
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/experimental/+/169614
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
Commit-Queue: Prabhu Karthikeyan Rajasekaran <prabhukr@google.com>
diff --git a/applications/app_common_impl/common_host_null.cc b/applications/app_common_impl/common_host_null.cc
index 5912e44..89461a3 100644
--- a/applications/app_common_impl/common_host_null.cc
+++ b/applications/app_common_impl/common_host_null.cc
@@ -17,6 +17,7 @@
#include "pw_status/try.h"
using pw::Status;
+using pw::framebuffer::PixelFormat;
using pw::framebuffer_pool::FramebufferPool;
namespace {
@@ -30,6 +31,7 @@
.fb_addr = s_pixel_buffers,
.dimensions = {0, 0},
.row_bytes = 0,
+ .pixel_format = PixelFormat::None,
});
pw::display::Display s_display(s_display_driver, kDisplaySize, s_fb_pool);