aeubanks added a comment.

ah I thought this was in `-Wall` but it's not

the struct is

  struct Foo {
    const void* buffer;
    uint32_t capacity;
    uint32_t reserved;
  };

where `reserved` isn't explicitly initialized. that seems like reasonable code, 
but I suppose we can just explicitly initialize `reserved` here


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D157879/new/

https://reviews.llvm.org/D157879

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to