Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

fix missing initialization

shun-iwasawa8aebdb0f7887
diff --git a/toonz/sources/toonz/cellselection.cpp b/toonz/sources/toonz/cellselection.cpp
index 85d843712..de35ac2fa 100644
--- a/toonz/sources/toonz/cellselection.cpp
+++ b/toonz/sources/toonz/cellselection.cpp
@@ -2427,7 +2427,7 @@ void TCellSelection::pasteDuplicateCells() {
if (cellSelection) cellSelection->selectCells(r0, c0, r1, c1);
std::vector<bool> areColumnsEmpty;
- bool containsSoundColumn;
+ bool containsSoundColumn = false;
int c;
for (c = c0; c <= c1; c++) {
TXshColumn *column = xsh->getColumn(c);