Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove unused variable report__base #4552

Merged
merged 1 commit into from Jul 24, 2023
Merged

Remove unused variable report__base #4552

merged 1 commit into from Jul 24, 2023

Conversation

bufke
Copy link
Contributor

@bufke bufke commented Jul 24, 2023

report__base was used in FORM_REPORT_OLD which was already removed. The variable is set but never read. This change removes it.

@bufke bufke changed the base branch from main to beta July 24, 2023 17:23
@jnm jnm merged commit 877c2f3 into beta Jul 24, 2023
4 checks passed
@jnm jnm deleted the refactor-remove-report__base branch July 24, 2023 17:53
var deployment__identifier = '';

if (this.state.uid != undefined) {
if (this.state.deployment__identifier != undefined) {
deployment__identifier = this.state.deployment__identifier;
report__base = deployment__identifier.replace('/forms/', '/reports/');
}
switch (this.props.router.location.pathname) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would have suggested removing var deployment__identifier = '' and the whole if (…deployment__identifier…) { … } block, as it appears to be unused.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants