Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@matejk
Copy link
Contributor

@matejk matejk commented Oct 8, 2025

Closes #4348

@matejk matejk force-pushed the 4348-null-to-nullptr branch 2 times, most recently from 4bcec6d to eff345b Compare October 9, 2025 08:32
@matejk matejk force-pushed the 4348-null-to-nullptr branch 2 times, most recently from b3c3ec3 to 47242d9 Compare October 16, 2025 20:53
@matejk matejk force-pushed the 4348-null-to-nullptr branch from 47242d9 to 9331509 Compare October 16, 2025 21:06
@matejk matejk marked this pull request as ready for review October 22, 2025 18:49
@matejk matejk requested a review from aleks-f October 22, 2025 18:49
@matejk
Copy link
Contributor Author

matejk commented Oct 22, 2025

@aleks-f : I hope that I converted all of the instances in the code where 0 or NULL is used instead of nullptr.

Changes revealed some latent problems in the code that might be worth resolving at some point.

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
Copy link
Member

@aleks-f aleks-f left a comment

Choose a reason for hiding this comment

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

hidden variables are harmless and easily fixable - just remove auto* from the second instance, at least that's what it looks like to me - declared and initialized with nullptr, then declared again, so it only hides the unused nullptr one

key length I vaguely remember was complained about long time ago, but changing it would break code. I guess one day we'll have to do it

@matejk matejk force-pushed the 4348-null-to-nullptr branch from f6c8958 to 4dc1365 Compare October 23, 2025 12:10
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.

0 (or NULL) for null pointer shall be replaced with nullptr

2 participants