wininet.dll is already load-time dynamically linked. * nio-ie5 (NetIO): Drop unnecessary LoadLibrary call.
Signed-off-by: Yaakov Selkowitz <yselk...@redhat.com> --- nio-ie5.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/nio-ie5.cc b/nio-ie5.cc index db4666c..c66cf52 100644 --- a/nio-ie5.cc +++ b/nio-ie5.cc @@ -41,13 +41,6 @@ NetIO (_url) if (internet == 0) { - HINSTANCE h = LoadLibrary ("wininet.dll"); - if (!h) - { - note (NULL, IDS_WININET); - connection = 0; - return; - } InternetAttemptConnect (0); internet = InternetOpen ("Cygwin Setup", INTERNET_OPEN_TYPE_PRECONFIG, NULL, NULL, 0); -- 2.6.2