UI: Tuck variable inside macro guard
This commit is contained in:
parent
e181a23bed
commit
64cb26d03d
1 changed files with 1 additions and 1 deletions
|
|
@ -6427,8 +6427,8 @@ void OBSBasic::SetBroadcastFlowEnabled(bool enabled)
|
|||
|
||||
void OBSBasic::SetupBroadcast()
|
||||
{
|
||||
Auth *auth = GetAuth();
|
||||
#if YOUTUBE_ENABLED
|
||||
Auth *const auth = GetAuth();
|
||||
if (IsYouTubeService(auth->service())) {
|
||||
OBSYoutubeActions *dialog;
|
||||
dialog = new OBSYoutubeActions(this, auth, broadcastReady);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue