Fixed gcc 4 warning.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34151 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
51576592ed
commit
1c61ec1aad
@ -1284,6 +1284,7 @@ writev_port_etc(port_id id, int32 msgCode, const iovec* msgVecs,
|
||||
|
||||
int32 slot = id % sMaxPorts;
|
||||
status_t status;
|
||||
port_message* message = NULL;
|
||||
|
||||
MutexLocker locker(sPorts[slot].lock);
|
||||
|
||||
@ -1326,7 +1327,6 @@ writev_port_etc(port_id id, int32 msgCode, const iovec* msgVecs,
|
||||
} else
|
||||
sPorts[slot].write_count--;
|
||||
|
||||
port_message* message;
|
||||
status = get_port_message(msgCode, bufferSize, flags, timeout,
|
||||
&message);
|
||||
if (status != B_OK)
|
||||
|
Loading…
x
Reference in New Issue
Block a user