Skip to content

Commit

Permalink
Remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
WarmUpTill authored and WarmUpTill committed Feb 5, 2024
1 parent fef59dd commit 4e37241
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 2 additions & 3 deletions plugins/base/macro-condition-replay-buffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@ const static std::map<MacroConditionReplayBuffer::Condition, std::string>
"AdvSceneSwitcher.condition.replay.state.saved"},
};

static bool replayBufferSaved = false;

static std::chrono::high_resolution_clock::time_point replayBufferSaveTime{};
static bool setupReplayBufferEventHandler();
static bool replayBufferEventHandlerIsSetup = setupReplayBufferEventHandler();
Expand Down Expand Up @@ -94,7 +92,8 @@ static inline void populateStateSelection(QComboBox *list)

MacroConditionReplayBufferEdit::MacroConditionReplayBufferEdit(
QWidget *parent, std::shared_ptr<MacroConditionReplayBuffer> entryData)
: QWidget(parent), _state(new QComboBox())
: QWidget(parent),
_state(new QComboBox())
{
QWidget::connect(_state, SIGNAL(currentIndexChanged(int)), this,
SLOT(StateChanged(int)));
Expand Down
2 changes: 1 addition & 1 deletion tests/mocks/obs-data.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ long long obs_data_get_autoselect_int(obs_data_t *data, const char *name)

double obs_data_get_autoselect_double(obs_data_t *data, const char *name)
{
return 0, 0;
return 0.0;
}

bool obs_data_get_autoselect_bool(obs_data_t *data, const char *name)
Expand Down

0 comments on commit 4e37241

Please sign in to comment.