From: Руслан Ижбулатов Date: Sat, 25 Feb 2017 12:47:07 +0000 (+0000) Subject: W32: Fix a possible control flow error X-Git-Tag: taler-0.2.1~58 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=a023ba6e0c89fd398213fc869b0f71ae31fb4cf6;p=oweals%2Fgnunet.git W32: Fix a possible control flow error Make sure we eitehr return or set ftype to something. --- diff --git a/src/util/disk.c b/src/util/disk.c index 305607594..d3d5d87dc 100644 --- a/src/util/disk.c +++ b/src/util/disk.c @@ -1840,6 +1840,8 @@ GNUNET_DISK_get_handle_from_w32_handle (HANDLE osfh) { if (0 != ResetEvent (osfh)) ftype = GNUNET_DISK_HANLDE_TYPE_EVENT; + else + return NULL; } else return NULL;