mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-08 13:43:43 +00:00
test: shutdown the false alram of the valgrind
- Conditional jump or move depends on uninitialised value(s)
This commit is contained in:
parent
08e6b8333f
commit
827247181a
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ TEST_CASE("Basic draw", "[tvgSwEngine]")
|
|||
auto canvas = SwCanvas::gen();
|
||||
REQUIRE(canvas);
|
||||
|
||||
uint32_t buffer[100*100];
|
||||
uint32_t buffer[100*100] = {0, };
|
||||
REQUIRE(canvas->target(buffer, 100, 100, 100, SwCanvas::Colorspace::ABGR8888S) == Result::Success);
|
||||
|
||||
//Arc Line
|
||||
|
|
Loading…
Add table
Reference in a new issue