Jaysmito101 / TerraForge3D

Cross Platform Professional Procedural Terrain Generation & Texturing Tool
https://Jaysmito101.github.io/TerraForge3D/
MIT License
967 stars 89 forks source link

Remove unnecessary null pointer checks #44

Closed elfring closed 1 year ago

elfring commented 1 year ago

Extra null pointer checks are not needed in functions like the following.

manav-06 commented 1 year ago

hi, @elfring you can assign this to me

elfring commented 1 year ago

:thought_balloon: Would you become interested to use a development tool like “clang-tidy” for corresponding source code adjustments?

manav-06 commented 1 year ago

Yeah sure

Jaysmito101 commented 1 year ago

@manav-06 Are you interested in fixing this up?

manav-06 commented 1 year ago

Yeah

Jaysmito101 commented 1 year ago

@manav-06 Alright i am assigning this issue to you.

suyashmadhesia commented 1 year ago

@Jaysmito101 is this issue completed? I want to work on this issue. Can you please assign this issue to me ?

Jaysmito101 commented 1 year ago

@suyashmadhesia alright

suyashmadhesia commented 1 year ago

Extra null pointer checks are not needed in functions like the following.

So I have to remove null pointer check in given these three files ?

Jaysmito101 commented 1 year ago

@suyashmadhesia not just these but throughout the entire project. Those are just some examples.

elfring commented 1 year ago

So I have to remove null pointer check in given these three files ?

I proposed a change (at such source code places at least). :thought_balloon: Would the linked information sources motivate you to check if more update candidates can be improved accordingly?

suyashmadhesia commented 1 year ago

@elfring @Jaysmito101 Got it. I have to find and remove all unnecessary null pointer checks throughout the code base.

elfring commented 1 year ago

:thought_balloon: Are you going to select any tools which can be more helpful for such a development task?

suyashmadhesia commented 1 year ago

@elfring I don't know much but I will be using Visual Studio for debugging and development. If you have any suggestions please help me I am a beginner to open source contribution with little knowledge of gdb and intermediate knowledge of C++.

elfring commented 1 year ago

If you have any suggestion …

:thought_balloon: Did you notice any previous links to the development tool “clang-tidy”?

suyashmadhesia commented 1 year ago

Yes. It showing static member function. Can you please explain it more like what you are trying to explain me.

elfring commented 1 year ago

It showing static member function.

:thought_balloon: I wonder about such an information.

suyashmadhesia commented 1 year ago

Maybe, let me try it by myself if I got stuck at any point I will ask it out

Yashs1623 commented 1 year ago

Hey @Jaysmito101, can you please assign this issue to me

Captain2234 commented 1 year ago

hey @jaysmitho can you assign this issue to me if it is not solved yet

Jaysmito101 commented 1 year ago

This issue will be fixed with later pushes.