Skip to content

Commit 60d37b5

Browse files
committed
Removed redundant warnings
Those are printed by SPLoadLibrary
1 parent 2b0c172 commit 60d37b5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/loader/loader_main.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -198,9 +198,6 @@ bool CSourcePython::Load( CreateInterfaceFn interfaceFactory, CreateInterfaceFn
198198
// Load python.
199199
// ------------------------------------------------------------------
200200
if( SPLoadLibrary(engine, PYLIB_NAME) == NULL ) {
201-
Warning("===========================================\n");
202-
Warning("[SP-LOADER] Could not load %s!\n", PYLIB_NAME);
203-
Warning("===========================================\n");
204201
return false;
205202
}
206203

@@ -209,9 +206,6 @@ bool CSourcePython::Load( CreateInterfaceFn interfaceFactory, CreateInterfaceFn
209206
// ------------------------------------------------------------------
210207
m_pCore = SPLoadLibrary(engine, CORE_NAME);
211208
if (!m_pCore) {
212-
Warning("===========================================\n");
213-
Warning("[SP-LOADER] Could not load %s!\n", CORE_NAME);
214-
Warning("===========================================\n");
215209
return false;
216210
}
217211

0 commit comments

Comments
 (0)