Line trace error

So every time I shoot in the air there are some errors and I’m worried that this can affect me when I export the project.
This is the code:


And it says that particularly the branch is the problem.
If you need any further info just say.

Thanks in advance.

You should check if there were a hit:

Thanks that worked for a sec I put the return value in the only branch I had but then I realized I needed one more before that.
Thanks again