Skip to content

Commit 6728aa1

Browse files
DariaMityaginasramasit
authored andcommitted
Port Ubunu-24 warning fixes to npu/release/18.x (#45)
* Fix <anonymous> declared here * Fix Ubuntu24 (#33)
1 parent 460a514 commit 6728aa1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

llvm/include/llvm/ADT/FunctionExtras.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ template <typename ReturnT, typename... ParamTs> class UniqueFunctionBase {
153153
void *StoragePtr;
154154
size_t Size;
155155
size_t Alignment;
156-
} OutOfLineStorage;
156+
} OutOfLineStorage = {};
157157
static_assert(
158158
sizeof(OutOfLineStorageT) <= InlineStorageSize,
159159
"Should always use all of the out-of-line storage for inline storage!");

0 commit comments

Comments
 (0)