Author: mladen.turk(a)jboss.com
Date: 2007-10-10 02:28:46 -0400 (Wed, 10 Oct 2007)
New Revision: 1093
Modified:
trunk/sight/native/share/no.c
Log:
Remove redundant code. Poool is tested in sight_pool_lock
Modified: trunk/sight/native/share/no.c
===================================================================
--- trunk/sight/native/share/no.c 2007-10-09 11:41:45 UTC (rev 1092)
+++ trunk/sight/native/share/no.c 2007-10-10 06:28:46 UTC (rev 1093)
@@ -179,11 +179,6 @@
/* Use the global pool */
ppool = sight_global_pool;
}
- if (!ppool) {
- /* Global pool is missing */
- throwAprMemoryException(_E, THROW_FMARK, APR_ENOPOOL);
- return;
- }
if ((rc = sight_pool_lock(&mutex, ppool)) == APR_SUCCESS) {
if ((rc = sight_pool_create(&pool, ppool, lock)) != APR_SUCCESS) {
throwAprMemoryException(_E, THROW_FMARK, rc);
Show replies by date