mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-01-24 22:28:34 -05:00
UI: Tuck variable inside macro guard
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user