Skip to content

Conversation

@PatOnTheBack
Copy link
Contributor

Since j is redefined before it is used, it makes more sense to declare it with the value None instead of 1.

This fixes a warning from lgtm

Since `j` is redefined before it is used, it makes more sense to declare it with the value `None` instead of `1`.

This fixes a [warning from lgtm](https://lgtm.com/projects/g/TheAlgorithms/Python/snapshot/66c4afbd0f28f9989f35ddbeb5c9263390c5d192/files/other/primelib.py?sort=name&dir=ASC&mode=heatmap)
Copy link
Member

@poyea poyea left a comment

Choose a reason for hiding this comment

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

Thank you for your pull request!🤩

@poyea poyea merged commit 2333f93 into TheAlgorithms:master Jun 30, 2019
@PatOnTheBack PatOnTheBack deleted the patch-2 branch July 1, 2019 11:49
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