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

Typos fix fuel #6759

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

romashka-btc
Copy link

Description of Changes

1. Fixing the Use of Undeclared Variables

  • Fixed instances of accessing variables that were not declared.
  • Prevented potential ReferenceError issues.
  • Main causes of the problem:
    • Typographical errors in variable/parameter names.
    • Accidental creation of global variables.

2. Removal of Unused Variables

  • Removed variables that were declared but not used in the code.
  • Improved code readability and resolved potential performance issues.
  • If a variable was intentionally left unused, a _ prefix was added to avoid false flags.

3. Fixing Incorrect Assignment Operators

  • Corrected errors where =- was used instead of -= or =+ instead of +=.
  • Example: The line x =- 1 was replaced with either x -= 1 or x = -1, depending on the context.

Reasons for Changes

  • To avoid runtime errors and improve code quality.
  • To remove unused variables for easier maintenance.
  • To fix typos ensuring proper operator functionality.

@romashka-btc romashka-btc requested review from a team as code owners November 26, 2024 10:16
@CLAassistant
Copy link

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

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.

2 participants