Supress unused var warning for STUN_SERVER (used only if gstreamer supported)

This commit is contained in:
Nicolas Werner 2020-10-30 03:22:48 +01:00
parent b64e6e9cd5
commit 888d004764
4 changed files with 6 additions and 6 deletions

View file

@ -638,7 +638,7 @@ utils::luminance(const QColor &col)
qreal lumRgb[3];
for (int i = 0; i < 3; i++) {
qreal v = colRgb[i] / 255.0;
qreal v = colRgb[i] / 255.0;
v <= 0.03928 ? lumRgb[i] = v / 12.92 : lumRgb[i] = qPow((v + 0.055) / 1.055, 2.4);
}