Skip to content

Commit 72ae324

Browse files
committed
Fix unused parameter warnings
1 parent 901cbd2 commit 72ae324

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

app/streaming/streamutils.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -348,6 +348,8 @@ int StreamUtils::getDrmFdForWindow(SDL_Window* window, bool* mustClose)
348348
return fd;
349349
}
350350
}
351+
#else
352+
Q_UNUSED(window);
351353
#endif
352354

353355
return -1;
@@ -397,6 +399,8 @@ int StreamUtils::getDrmFd(bool preferRenderNode)
397399
}
398400
}
399401
}
402+
#else
403+
Q_UNUSED(preferRenderNode);
400404
#endif
401405

402406
return -1;

0 commit comments

Comments
 (0)