defaultbrowser icon indicating copy to clipboard operation
defaultbrowser copied to clipboard

Addressing compiler warning: comparing a pointer to a null character constant

Open jonasbn opened this issue 11 months ago • 0 comments

I fell over a warning and GH copilot came up with a suggestion for fix.

This PR addresses the compiler warning:

  • comparing a pointer to a null character constant; did you mean to compare to NULL? [-Wpointer-compare]

I have submitted this as a separate PR, since it did not belong in the other PR I sent you today.

Please review and see if it makes sense. My tests demonstrate that the code still works are expected with the suggested implementation.

jonasbn avatar Jan 25 '25 15:01 jonasbn