[PATCH] Core: remove unused NGX_INVALID_ARRAY_INDEX
Piotr Sikora
piotrsikora at google.com
Mon Jun 27 22:59:24 UTC 2016
# HG changeset patch
# User Piotr Sikora <piotrsikora at google.com>
# Date 1467064807 25200
# Mon Jun 27 15:00:07 2016 -0700
# Node ID 8666abaeb43294edd5b93852bad2a42a27dd651b
# Parent d452cb27639f714bc43b7f3ede417e3e7f8efdd6
Core: remove unused NGX_INVALID_ARRAY_INDEX.
Unused since ae4744c28620 (0.7.51).
Signed-off-by: Piotr Sikora <piotrsikora at google.com>
diff -r d452cb27639f -r 8666abaeb432 src/core/ngx_config.h
--- a/src/core/ngx_config.h
+++ b/src/core/ngx_config.h
@@ -105,10 +105,6 @@ typedef intptr_t ngx_flag_t;
#define ngx_abort abort
-/* TODO: platform specific: array[NGX_INVALID_ARRAY_INDEX] must cause SIGSEGV */
-#define NGX_INVALID_ARRAY_INDEX 0x80000000
-
-
/* TODO: auto_conf: ngx_inline inline __inline __inline__ */
#ifndef ngx_inline
#define ngx_inline inline
More information about the nginx-devel
mailing list