quiet gcc warning

This commit is contained in:
dzaima 2023-03-31 16:34:08 +03:00
parent 5367845753
commit 0180a54207

View File

@ -214,7 +214,7 @@ B transp_c2(B t, B w, B x) {
i++; i++;
} }
// Create shape object, saving unprocessed result shape // Create shape object, saving unprocessed result shape
ShArr* sh; ShArr* sh ONLY_GCC(=0);
if (LIKELY(rr > 1)) { // Not all duplicates if (LIKELY(rr > 1)) { // Not all duplicates
sh = m_shArr(rr); sh = m_shArr(rr);
shcpy(sh->a, rsh, rr); shcpy(sh->a, rsh, rr);