gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnunet] 04/14: W32: Fix a possible control flow error


From: gnunet
Subject: [GNUnet-SVN] [gnunet] 04/14: W32: Fix a possible control flow error
Date: Sat, 25 Feb 2017 22:04:54 +0100

This is an automated email from the git hooks/post-receive script.

lrn pushed a commit to branch master
in repository gnunet.

commit a023ba6e0c89fd398213fc869b0f71ae31fb4cf6
Author: Руслан Ижбулатов <address@hidden>
AuthorDate: Sat Feb 25 12:47:07 2017 +0000

    W32: Fix a possible control flow error
    
    Make sure we eitehr return or set ftype to something.
---
 src/util/disk.c | 2 ++
 1 file changed, 2 insertions(+)

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;

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]