summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ad653fa)
The boolean return value was compared with -1 which was always false.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@74518
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// TODO more error conditions according to man
// XXX closing file descriptor removes the watch. The logic resides in
// the watch which is not nice, but effective and simple
// TODO more error conditions according to man
// XXX closing file descriptor removes the watch. The logic resides in
// the watch which is not nice, but effective and simple
- bool ret = watch->Close();
- if (ret == -1)
{
wxLogSysError(_("Unable to remove kqueue watch"));
return false;
{
wxLogSysError(_("Unable to remove kqueue watch"));
return false;