masneyb / gftp

gFTP is a free multithreaded file transfer client for *NIX based machines. 56 language translations available.
http://www.gftp.org
MIT License
116 stars 21 forks source link

Silence a few more compiler warnings #162

Closed sedwards closed 1 year ago

sedwards commented 1 year ago

These are not strictly correct, but we were not handling possible failures and examining ERRNO before anyway and these are calls that should never really fail anyway so I think its ok to just silence them any way that will appease the compiler.

wdlkmpx commented 1 year ago

_gftpui_wakeup_main_thread is a GIOFunc, it should return TRUE or FALSE, but -1 is still TRUE, and that's ok I guess