You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@harmony.apache.org by hi...@apache.org on 2007/10/16 16:02:28 UTC
svn commit: r585145 -
/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c
Author: hindessm
Date: Tue Oct 16 07:02:25 2007
New Revision: 585145
URL: http://svn.apache.org/viewvc?rev=585145&view=rev
Log:
This call and check appears to be redundant since the function will return
with the same error code after the getJavaIoFileDescriptorContentsAsAPointer
call.
Modified:
harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c
Modified: harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c
URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c?rev=585145&r1=585144&r2=585145&view=diff
==============================================================================
--- harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c (original)
+++ harmony/enhanced/classlib/trunk/modules/luni/src/main/native/luni/shared/nethelp.c Tue Oct 16 07:02:25 2007
@@ -1603,12 +1603,6 @@
IDATA descriptor;
PORT_ACCESS_FROM_ENV (env);
- descriptorFID = getJavaIoFileDescriptorDescriptorFID (env);
- if (NULL == descriptorFID)
- {
- return;
- }
-
/* fetch the fd field from the object */
fd = (*env)->GetObjectField (env, recv, fdFID);