mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
The warning itself: >warning: comparison between pointer and zero character constant [-Wpointer-compare] Harmless stuff as far as I can tell. The fix adds a null check that probably isn't needed. The old code that compared against '\0' worked a lot like a null check so it makes sense to keep that, while also adding the intended check for empty string. This was visible with "/dcc close send a" showing an empty filename. The equivalent for get didn't show the filename in the format string. |
||
|---|---|---|
| .. | ||
| fe-dcc-chat-messages.c | ||
| fe-dcc-chat.c | ||
| fe-dcc-get.c | ||
| fe-dcc-send.c | ||
| fe-dcc-server.c | ||
| fe-dcc.c | ||
| fe-dcc.h | ||
| Makefile.am | ||
| module-formats.c | ||
| module-formats.h | ||
| module.h | ||