summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-05-22 23:44:01 +0200
committerVolker Lendecke <vl@samba.org>2010-07-11 18:14:33 +0200
commit77a3858f2f25e84e8e23d82097be710195a250d5 (patch)
tree76885317e546bef01a53c75c202e99c49da2572f /lib
parentc186f92437a918a256b84be84dcf6de569f0cc20 (diff)
downloadsamba-77a3858f2f25e84e8e23d82097be710195a250d5.tar.gz
samba-77a3858f2f25e84e8e23d82097be710195a250d5.tar.bz2
samba-77a3858f2f25e84e8e23d82097be710195a250d5.zip
tsocket: Fix some unreachable code
Diffstat (limited to 'lib')
-rw-r--r--lib/tsocket/tsocket.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/tsocket/tsocket.c b/lib/tsocket/tsocket.c
index b8dd6c8936..674858de0a 100644
--- a/lib/tsocket/tsocket.c
+++ b/lib/tsocket/tsocket.c
@@ -46,8 +46,7 @@ int tsocket_simple_int_recv(struct tevent_req *req, int *perrno)
*perrno = (int)error;
return -1;
default:
- *perrno = EIO;
- return -1;
+ break;
}
*perrno = EIO;